Struct hrobot::api::ordering::TransactionId
source · pub struct TransactionId(pub String);Expand description
Transaction ID, e.g. “B20150121-344957-251478”.
Tuple Fields§
§0: StringTrait 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<'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<&str> for TransactionId
impl From<&str> for TransactionId
source§impl From<String> for TransactionId
impl From<String> for TransactionId
source§impl From<TransactionId> for String
impl From<TransactionId> for String
source§fn from(value: TransactionId) -> Self
fn from(value: TransactionId) -> Self
Converts to this type from the input type.
source§impl Hash for TransactionId
impl Hash for TransactionId
source§impl Ord for TransactionId
impl Ord for TransactionId
source§fn cmp(&self, other: &TransactionId) -> Ordering
fn cmp(&self, other: &TransactionId) -> Ordering
1.21.0 · 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
source§impl PartialEq<str> for TransactionId
impl PartialEq<str> for TransactionId
source§impl PartialEq for TransactionId
impl PartialEq for TransactionId
source§fn eq(&self, other: &TransactionId) -> bool
fn eq(&self, other: &TransactionId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for TransactionId
impl PartialOrd for TransactionId
source§fn partial_cmp(&self, other: &TransactionId) -> Option<Ordering>
fn partial_cmp(&self, other: &TransactionId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for TransactionId
impl Serialize for TransactionId
impl Eq for TransactionId
impl StructuralPartialEq 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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.