pub struct CartId(/* private fields */);Expand description
Strongly-typed shopping cart identifier.
Implementations§
Trait Implementations§
impl Copy for CartId
Source§impl<'de> Deserialize<'de> for CartId
impl<'de> Deserialize<'de> for CartId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CartId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CartId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CartId
Source§impl Ord for CartId
impl Ord for CartId
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 PartialOrd for CartId
impl PartialOrd for CartId
Source§impl Serialize for CartId
impl Serialize for CartId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CartId
Auto Trait Implementations§
impl Freeze for CartId
impl RefUnwindSafe for CartId
impl Send for CartId
impl Sync for CartId
impl Unpin for CartId
impl UnsafeUnpin for CartId
impl UnwindSafe for CartId
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