pub struct DeliveryItem {
pub id: u64,
pub count: u64,
}
Expand description
An item in the delivery box.
Fields§
§id: u64
§count: u64
Trait Implementations§
Source§impl Clone for DeliveryItem
impl Clone for DeliveryItem
Source§fn clone(&self) -> DeliveryItem
fn clone(&self) -> DeliveryItem
Returns a duplicate 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 DeliveryItem
impl Debug for DeliveryItem
Source§impl<'de> Deserialize<'de> for DeliveryItem
impl<'de> Deserialize<'de> for DeliveryItem
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
Auto Trait Implementations§
impl Freeze for DeliveryItem
impl RefUnwindSafe for DeliveryItem
impl Send for DeliveryItem
impl Sync for DeliveryItem
impl Unpin for DeliveryItem
impl UnwindSafe for DeliveryItem
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