#[repr(i32)]pub enum MessageState {
New = 0,
Generating = 1,
Finish = 2,
}Expand description
Message delivery state.
Variants§
Trait Implementations§
Source§impl Clone for MessageState
impl Clone for MessageState
Source§fn clone(&self) -> MessageState
fn clone(&self) -> MessageState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageState
impl Debug for MessageState
Source§impl Default for MessageState
impl Default for MessageState
Source§impl<'de> Deserialize<'de> for MessageState
impl<'de> Deserialize<'de> for MessageState
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 PartialEq for MessageState
impl PartialEq for MessageState
Source§fn eq(&self, other: &MessageState) -> bool
fn eq(&self, other: &MessageState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageState
impl Serialize for MessageState
impl Copy for MessageState
impl Eq for MessageState
impl StructuralPartialEq for MessageState
Auto Trait Implementations§
impl Freeze for MessageState
impl RefUnwindSafe for MessageState
impl Send for MessageState
impl Sync for MessageState
impl Unpin for MessageState
impl UnsafeUnpin for MessageState
impl UnwindSafe for MessageState
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