#[non_exhaustive]pub enum ContentIssueCode {
MetadataServerOwned,
MarkdownHtmlForbidden,
VoiceRequiresAudio,
AttachmentMimeTypeMismatch,
AttachmentSizeMismatch,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MetadataServerOwned
metadata_server_owned
MarkdownHtmlForbidden
markdown_html_forbidden
VoiceRequiresAudio
voice_requires_audio
AttachmentMimeTypeMismatch
attachment_mime_type_mismatch
AttachmentSizeMismatch
attachment_size_mismatch
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for ContentIssueCode
impl Clone for ContentIssueCode
Source§impl Debug for ContentIssueCode
impl Debug for ContentIssueCode
Source§impl<'de> Deserialize<'de> for ContentIssueCode
impl<'de> Deserialize<'de> for ContentIssueCode
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ContentIssueCode
impl Display for ContentIssueCode
impl Eq for ContentIssueCode
Source§impl PartialEq for ContentIssueCode
impl PartialEq for ContentIssueCode
Source§impl Serialize for ContentIssueCode
impl Serialize for ContentIssueCode
impl StructuralPartialEq for ContentIssueCode
Auto Trait Implementations§
impl Freeze for ContentIssueCode
impl RefUnwindSafe for ContentIssueCode
impl Send for ContentIssueCode
impl Sync for ContentIssueCode
impl Unpin for ContentIssueCode
impl UnsafeUnpin for ContentIssueCode
impl UnwindSafe for ContentIssueCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more