Trait twilight_http::request::AuditLogReason
source · [−]pub trait AuditLogReason<'a>: Sealed {
fn reason(self, reason: &'a str) -> Result<Self, ValidationError>
where
Self: Sized;
}
Required Methods
Attach an audit log reason to the request.
Errors
Returns an error of type AuditReason
if the length is invalid.