pub struct ContractId(pub HexFormatted<ContractId>);
Tuple Fields§
§0: HexFormatted<ContractId>
Trait Implementations§
Source§impl Clone for ContractId
impl Clone for ContractId
Source§fn clone(&self) -> ContractId
fn clone(&self) -> ContractId
Returns a copy of the value. Read more
1.0.0 · 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 ContractId
impl Debug for ContractId
Source§impl Default for ContractId
impl Default for ContractId
Source§fn default() -> ContractId
fn default() -> ContractId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractId
impl<'de> Deserialize<'de> for ContractId
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
Source§impl Display for ContractId
impl Display for ContractId
Source§impl From<ContractId> for ContractId
impl From<ContractId> for ContractId
Source§fn from(s: ContractId) -> Self
fn from(s: ContractId) -> Self
Converts to this type from the input type.
Source§impl From<ContractId> for ContractId
impl From<ContractId> for ContractId
Source§fn from(s: ContractId) -> Self
fn from(s: ContractId) -> Self
Converts to this type from the input type.
Source§impl FromStr for ContractId
impl FromStr for ContractId
Source§impl IsScalar<ContractId> for ContractId
impl IsScalar<ContractId> for ContractId
Source§type SchemaType = ContractId
type SchemaType = ContractId
The schema marker type this scalar represents.
Source§impl Serialize for ContractId
impl Serialize for ContractId
Source§impl Variable for ContractId
impl Variable for ContractId
const TYPE: VariableType
impl CoercesTo<ContractId> for ContractId
impl CoercesTo<Option<ContractId>> for ContractId
impl CoercesTo<Option<Option<ContractId>>> for ContractId
impl CoercesTo<Option<Vec<ContractId>>> for ContractId
impl CoercesTo<Option<Vec<Option<ContractId>>>> for ContractId
impl CoercesTo<Vec<ContractId>> for ContractId
impl CoercesTo<Vec<Vec<ContractId>>> for ContractId
Auto Trait Implementations§
impl Freeze for ContractId
impl RefUnwindSafe for ContractId
impl Send for ContractId
impl Sync for ContractId
impl Unpin for ContractId
impl UnwindSafe for ContractId
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<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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more