pub struct ApprovalId(pub CompactString);Expand description
spc_003 §2: placeholder identity newtypes for wait conditions that have no existing kernel
concept yet. Minimal on purpose — no validation, no dependency beyond CompactString — until a
real producer (spc_003-05+ for Timer; future cards for the rest) earns a richer type.
Tuple Fields§
§0: CompactStringTrait Implementations§
Source§impl Clone for ApprovalId
impl Clone for ApprovalId
Source§fn clone(&self) -> ApprovalId
fn clone(&self) -> ApprovalId
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 ApprovalId
impl Debug for ApprovalId
Source§impl<'de> Deserialize<'de> for ApprovalId
impl<'de> Deserialize<'de> for ApprovalId
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
impl Eq for ApprovalId
Source§impl Hash for ApprovalId
impl Hash for ApprovalId
Source§impl Ord for ApprovalId
impl Ord for ApprovalId
Source§fn cmp(&self, other: &ApprovalId) -> Ordering
fn cmp(&self, other: &ApprovalId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ApprovalId
impl PartialEq for ApprovalId
Source§impl PartialOrd for ApprovalId
impl PartialOrd for ApprovalId
Source§impl Serialize for ApprovalId
impl Serialize for ApprovalId
impl StructuralPartialEq for ApprovalId
Auto Trait Implementations§
impl Freeze for ApprovalId
impl RefUnwindSafe for ApprovalId
impl Send for ApprovalId
impl Sync for ApprovalId
impl Unpin for ApprovalId
impl UnsafeUnpin for ApprovalId
impl UnwindSafe for ApprovalId
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