Skip to main content

OrderId

Struct OrderId 

pub struct OrderId(/* private fields */);

Implementations§

§

impl OrderId

pub fn new(id: impl Into<String>) -> OrderId

pub fn as_str(&self) -> &str

Trait Implementations§

§

impl Clone for OrderId

§

fn clone(&self) -> OrderId

1.0.0 (const: )§

fn clone_from(&mut self, source: &Self)

§

impl Debug for OrderId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

§

impl<'de> Deserialize<'de> for OrderId

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<OrderId, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

§

impl Display for OrderId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

§

impl Hash for OrderId

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

§

impl Ord for OrderId

§

fn cmp(&self, other: &OrderId) -> Ordering

1.21.0 (const: )§

fn max(self, other: Self) -> Self
where Self: Sized,

1.21.0 (const: )§

fn min(self, other: Self) -> Self
where Self: Sized,

1.50.0 (const: )§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

§

impl PartialEq for OrderId

§

fn eq(&self, other: &OrderId) -> bool

1.0.0 (const: )§

fn ne(&self, other: &Rhs) -> bool

§

impl PartialOrd for OrderId

§

fn partial_cmp(&self, other: &OrderId) -> Option<Ordering>

1.0.0 (const: )§

fn lt(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn le(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn gt(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn ge(&self, other: &Rhs) -> bool

§

impl Serialize for OrderId

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Eq for OrderId

§

impl StructuralPartialEq for OrderId

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

§

fn in_current_span(self) -> Instrumented<Self>

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

§

fn to_owned(&self) -> T

§

fn clone_into(&self, target: &mut T)

§

impl<T> ToString for T
where T: Display + ?Sized,

§

fn to_string(&self) -> String

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

§

fn with_current_subscriber(self) -> WithDispatch<Self>

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,