Skip to main content

attachment_title

Function attachment_title 

Source
pub fn attachment_title(
    title: impl AsRef<str>,
) -> Result<(), MessageValidationError>
Expand description

Ensure an attachment’s title is correct.

§Errors

Returns an error of type AttachmentTitleTooLarge if the attachment’s title is too large.