pub struct HarnessMcpCallId(/* private fields */);Implementations§
Source§impl HarnessMcpCallId
impl HarnessMcpCallId
pub fn new( value: impl Into<String>, ) -> Result<HarnessMcpCallId, HarnessMcpContractError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for HarnessMcpCallId
impl Clone for HarnessMcpCallId
Source§fn clone(&self) -> HarnessMcpCallId
fn clone(&self) -> HarnessMcpCallId
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 HarnessMcpCallId
impl Debug for HarnessMcpCallId
Source§impl<'de> Deserialize<'de> for HarnessMcpCallId
impl<'de> Deserialize<'de> for HarnessMcpCallId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<HarnessMcpCallId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<HarnessMcpCallId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessMcpCallId
Source§impl Hash for HarnessMcpCallId
impl Hash for HarnessMcpCallId
Source§impl Ord for HarnessMcpCallId
impl Ord for HarnessMcpCallId
Source§fn cmp(&self, other: &HarnessMcpCallId) -> Ordering
fn cmp(&self, other: &HarnessMcpCallId) -> 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 HarnessMcpCallId
impl PartialEq for HarnessMcpCallId
Source§impl PartialOrd for HarnessMcpCallId
impl PartialOrd for HarnessMcpCallId
Source§impl Serialize for HarnessMcpCallId
impl Serialize for HarnessMcpCallId
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 StructuralPartialEq for HarnessMcpCallId
Auto Trait Implementations§
impl Freeze for HarnessMcpCallId
impl RefUnwindSafe for HarnessMcpCallId
impl Send for HarnessMcpCallId
impl Sync for HarnessMcpCallId
impl Unpin for HarnessMcpCallId
impl UnsafeUnpin for HarnessMcpCallId
impl UnwindSafe for HarnessMcpCallId
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