Struct torn_api::market::BazaarItem
source · pub struct BazaarItem {
pub id: u32,
pub cost: u64,
pub quantity: u32,
}
Fields§
§id: u32
§cost: u64
§quantity: u32
Trait Implementations§
source§impl Clone for BazaarItem
impl Clone for BazaarItem
source§fn clone(&self) -> BazaarItem
fn clone(&self) -> BazaarItem
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 BazaarItem
impl Debug for BazaarItem
source§impl<'de> Deserialize<'de> for BazaarItem
impl<'de> Deserialize<'de> for BazaarItem
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 BazaarItem
impl RefUnwindSafe for BazaarItem
impl Send for BazaarItem
impl Sync for BazaarItem
impl Unpin for BazaarItem
impl UnwindSafe for BazaarItem
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