Function sentry::db::validator_message::insert_validator_message
source · pub async fn insert_validator_message(
pool: &DbPool,
channel: &Channel,
from: &ValidatorId,
validator_message: &MessageTypes
) -> Result<bool, PoolError>
Expand description
Inserts a new validator [MessageTypes
] using the from
[ValidatorId
] and received
at: Utc::now()