pub struct TransactionId(pub HexFormatted<Bytes32>);
Tuple Fields§
§0: HexFormatted<Bytes32>
Trait Implementations§
Source§impl Clone for TransactionId
impl Clone for TransactionId
Source§fn clone(&self) -> TransactionId
fn clone(&self) -> TransactionId
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 TransactionId
impl Debug for TransactionId
Source§impl Default for TransactionId
impl Default for TransactionId
Source§fn default() -> TransactionId
fn default() -> TransactionId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionId
impl<'de> Deserialize<'de> for TransactionId
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 TransactionId
impl Display for TransactionId
Source§impl From<Bytes32> for TransactionId
impl From<Bytes32> for TransactionId
Source§impl From<TransactionId> for Bytes32
impl From<TransactionId> for Bytes32
Source§fn from(s: TransactionId) -> Self
fn from(s: TransactionId) -> Self
Converts to this type from the input type.
Source§impl FromStr for TransactionId
impl FromStr for TransactionId
Source§impl IsScalar<TransactionId> for TransactionId
impl IsScalar<TransactionId> for TransactionId
Source§type SchemaType = TransactionId
type SchemaType = TransactionId
The schema marker type this scalar represents.
Source§impl Serialize for TransactionId
impl Serialize for TransactionId
Source§impl Variable for TransactionId
impl Variable for TransactionId
const TYPE: VariableType
impl CoercesTo<Option<Option<TransactionId>>> for TransactionId
impl CoercesTo<Option<TransactionId>> for TransactionId
impl CoercesTo<Option<Vec<Option<TransactionId>>>> for TransactionId
impl CoercesTo<Option<Vec<TransactionId>>> for TransactionId
impl CoercesTo<TransactionId> for TransactionId
impl CoercesTo<Vec<TransactionId>> for TransactionId
impl CoercesTo<Vec<Vec<TransactionId>>> for TransactionId
Auto Trait Implementations§
impl Freeze for TransactionId
impl RefUnwindSafe for TransactionId
impl Send for TransactionId
impl Sync for TransactionId
impl Unpin for TransactionId
impl UnwindSafe for TransactionId
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