pub struct TradeOfferId(pub u64);Expand description
Trade offer ID.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for TradeOfferId
impl Clone for TradeOfferId
Source§fn clone(&self) -> TradeOfferId
fn clone(&self) -> TradeOfferId
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 TradeOfferId
impl Debug for TradeOfferId
Source§impl Default for TradeOfferId
impl Default for TradeOfferId
Source§fn default() -> TradeOfferId
fn default() -> TradeOfferId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TradeOfferId
impl<'de> Deserialize<'de> for TradeOfferId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TradeOfferId
impl Display for TradeOfferId
Source§impl From<TradeOfferId> for u64
impl From<TradeOfferId> for u64
Source§fn from(value: TradeOfferId) -> Self
fn from(value: TradeOfferId) -> Self
Converts to this type from the input type.
Source§impl From<u64> for TradeOfferId
impl From<u64> for TradeOfferId
Source§impl FromStr for TradeOfferId
impl FromStr for TradeOfferId
Source§impl Hash for TradeOfferId
impl Hash for TradeOfferId
Source§impl Ord for TradeOfferId
impl Ord for TradeOfferId
Source§fn cmp(&self, other: &TradeOfferId) -> Ordering
fn cmp(&self, other: &TradeOfferId) -> 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
Source§impl PartialEq for TradeOfferId
impl PartialEq for TradeOfferId
Source§fn eq(&self, other: &TradeOfferId) -> bool
fn eq(&self, other: &TradeOfferId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TradeOfferId
impl PartialOrd for TradeOfferId
Source§impl Serialize for TradeOfferId
impl Serialize for TradeOfferId
impl Copy for TradeOfferId
impl Eq for TradeOfferId
impl StructuralPartialEq for TradeOfferId
Auto Trait Implementations§
impl Freeze for TradeOfferId
impl RefUnwindSafe for TradeOfferId
impl Send for TradeOfferId
impl Sync for TradeOfferId
impl Unpin for TradeOfferId
impl UnsafeUnpin for TradeOfferId
impl UnwindSafe for TradeOfferId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().