#[repr(C)]pub struct CommandId(/* private fields */);Expand description
An ID constructed as a cryptographic hash of a serialized Command.
Implementations§
Trait Implementations§
Source§impl ConstantTimeEq for CommandId
impl ConstantTimeEq for CommandId
Source§impl<'de> Deserialize<'de> for CommandId
impl<'de> Deserialize<'de> for CommandId
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 From<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for CommandId
impl From<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for CommandId
Source§impl MaxSize for CommandId
impl MaxSize for CommandId
Source§const POSTCARD_MAX_SIZE: usize = 64usize
const POSTCARD_MAX_SIZE: usize = 64usize
The maximum possible size that the serialization of this
type can have, in bytes.
Source§impl Ord for CommandId
impl Ord for CommandId
Source§impl PartialOrd for CommandId
impl PartialOrd for CommandId
impl Copy for CommandId
impl Eq for CommandId
impl StructuralPartialEq for CommandId
Auto Trait Implementations§
impl Freeze for CommandId
impl RefUnwindSafe for CommandId
impl Send for CommandId
impl Sync for CommandId
impl Unpin for CommandId
impl UnwindSafe for CommandId
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