#[repr(u8)]pub enum MessageTypeId {
BalanceProof = 1,
BalanceProofUpdate = 2,
Withdraw = 3,
CooperativeSettle = 4,
IOU = 5,
MSReward = 6,
}Expand description
Message type identifier.
Variants§
Trait Implementations§
Source§impl Clone for MessageTypeId
impl Clone for MessageTypeId
Source§fn clone(&self) -> MessageTypeId
fn clone(&self) -> MessageTypeId
Returns a duplicate 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 moreSource§impl Debug for MessageTypeId
impl Debug for MessageTypeId
Source§impl<'de> Deserialize<'de> for MessageTypeId
impl<'de> Deserialize<'de> for MessageTypeId
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 MessageTypeId
impl Display for MessageTypeId
Source§impl From<MessageTypeId> for [u8; 1]
impl From<MessageTypeId> for [u8; 1]
Source§fn from(val: MessageTypeId) -> Self
fn from(val: MessageTypeId) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageTypeId
impl Hash for MessageTypeId
Source§impl PartialEq for MessageTypeId
impl PartialEq for MessageTypeId
Source§impl Serialize for MessageTypeId
impl Serialize for MessageTypeId
impl Eq for MessageTypeId
impl StructuralPartialEq for MessageTypeId
Auto Trait Implementations§
impl Freeze for MessageTypeId
impl RefUnwindSafe for MessageTypeId
impl Send for MessageTypeId
impl Sync for MessageTypeId
impl Unpin for MessageTypeId
impl UnwindSafe for MessageTypeId
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