pub struct CargoEntry {
pub name: Commodity,
pub count: u16,
pub stolen: u16,
}
Fields§
§name: Commodity
§count: u16
§stolen: u16
Trait Implementations§
Source§impl Clone for CargoEntry
impl Clone for CargoEntry
Source§fn clone(&self) -> CargoEntry
fn clone(&self) -> CargoEntry
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 CargoEntry
impl Debug for CargoEntry
Source§impl<'de> Deserialize<'de> for CargoEntry
impl<'de> Deserialize<'de> for CargoEntry
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 PartialEq for CargoEntry
impl PartialEq for CargoEntry
Source§impl Serialize for CargoEntry
impl Serialize for CargoEntry
impl StructuralPartialEq for CargoEntry
Auto Trait Implementations§
impl Freeze for CargoEntry
impl RefUnwindSafe for CargoEntry
impl Send for CargoEntry
impl Sync for CargoEntry
impl Unpin for CargoEntry
impl UnwindSafe for CargoEntry
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