pub struct DecisionId(/* private fields */);Expand description
Opaque, bounded identifier used by a protocol contract.
Implementations§
Source§impl DecisionId
impl DecisionId
Trait Implementations§
Source§impl AsRef<str> for DecisionId
impl AsRef<str> for DecisionId
Source§impl Clone for DecisionId
impl Clone for DecisionId
Source§impl Debug for DecisionId
impl Debug for DecisionId
Source§impl<'de> Deserialize<'de> for DecisionId
impl<'de> Deserialize<'de> for DecisionId
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 DecisionId
Source§impl From<DecisionId> for String
impl From<DecisionId> for String
Source§fn from(value: DecisionId) -> Self
fn from(value: DecisionId) -> Self
Converts to this type from the input type.
Source§impl FromStr for DecisionId
impl FromStr for DecisionId
Source§impl Hash for DecisionId
impl Hash for DecisionId
Source§impl Ord for DecisionId
impl Ord for DecisionId
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 DecisionId
impl PartialEq for DecisionId
Source§impl PartialOrd for DecisionId
impl PartialOrd for DecisionId
Source§impl Serialize for DecisionId
impl Serialize for DecisionId
impl StructuralPartialEq for DecisionId
Source§impl TryFrom<&str> for DecisionId
impl TryFrom<&str> for DecisionId
Auto Trait Implementations§
impl Forget for DecisionId
impl Freeze for DecisionId
impl Move for DecisionId
impl RefUnwindSafe for DecisionId
impl Send for DecisionId
impl Sync for DecisionId
impl Unpin for DecisionId
impl UnsafeUnpin for DecisionId
impl UnwindSafe for DecisionId
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