#[repr(transparent)]pub struct ChatMessageValidationStatus(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl ChatMessageValidationStatus
impl ChatMessageValidationStatus
pub const Valid: Self = _
pub const NoRecipients: Self = _
pub const InvalidData: Self = _
pub const MessageTooLarge: Self = _
pub const TooManyRecipients: Self = _
pub const TransportInactive: Self = _
pub const TransportNotFound: Self = _
pub const TooManyAttachments: Self = _
pub const InvalidRecipients: Self = _
pub const InvalidBody: Self = _
pub const InvalidOther: Self = _
pub const ValidWithLargeMessage: Self = _
pub const VoiceRoamingRestriction: Self = _
pub const DataRoamingRestriction: Self = _
Trait Implementations§
§impl Clone for ChatMessageValidationStatus
impl Clone for ChatMessageValidationStatus
§fn clone(&self) -> ChatMessageValidationStatus
fn clone(&self) -> ChatMessageValidationStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ChatMessageValidationStatus
impl Debug for ChatMessageValidationStatus
§impl Default for ChatMessageValidationStatus
impl Default for ChatMessageValidationStatus
§fn default() -> ChatMessageValidationStatus
fn default() -> ChatMessageValidationStatus
Returns the “default value” for a type. Read more
§impl PartialEq for ChatMessageValidationStatus
impl PartialEq for ChatMessageValidationStatus
§fn eq(&self, other: &ChatMessageValidationStatus) -> bool
fn eq(&self, other: &ChatMessageValidationStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChatMessageValidationStatus
impl Eq for ChatMessageValidationStatus
impl StructuralPartialEq for ChatMessageValidationStatus
Auto Trait Implementations§
impl Freeze for ChatMessageValidationStatus
impl RefUnwindSafe for ChatMessageValidationStatus
impl Send for ChatMessageValidationStatus
impl Sync for ChatMessageValidationStatus
impl Unpin for ChatMessageValidationStatus
impl UnwindSafe for ChatMessageValidationStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)