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