#[repr(C)]pub struct CmdId(/* private fields */);Expand description
The ID of a policy command.
Implementations§
Trait Implementations§
Source§impl ConstantTimeEq for CmdId
impl ConstantTimeEq for CmdId
Source§impl<'de> Deserialize<'de> for CmdId
impl<'de> Deserialize<'de> for CmdId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CmdId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CmdId, <__D as Deserializer<'de>>::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<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for CmdId
impl From<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for CmdId
Source§impl IntoBytes for CmdId
impl IntoBytes for CmdId
Source§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for CmdIdwhere
Id: KnownLayout,
impl KnownLayout for CmdIdwhere
Id: KnownLayout,
Source§type PointerMetadata = <Id as KnownLayout>::PointerMetadata
type PointerMetadata = <Id as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self. Read moreSource§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreSource§impl Ord for CmdId
impl Ord for CmdId
Source§impl PartialOrd for CmdId
impl PartialOrd for CmdId
Source§impl Serialize for CmdId
impl Serialize for CmdId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CmdId
impl Eq for CmdId
impl Immutable for CmdId
impl StructuralPartialEq for CmdId
impl Unaligned for CmdId
Auto Trait Implementations§
impl Freeze for CmdId
impl RefUnwindSafe for CmdId
impl Send for CmdId
impl Sync for CmdId
impl Unpin for CmdId
impl UnwindSafe for CmdId
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> TryFromValue for T
impl<T> TryFromValue for T
Source§fn try_from_value(value: Value) -> Result<T, ValueConversionError>
fn try_from_value(value: Value) -> Result<T, ValueConversionError>
Tries to convert a
Value into Self.