pub struct ShopBuyLine {
pub template_id: String,
pub label: String,
pub quantity: u32,
pub price_copper: u32,
}Fields§
§template_id: String§label: String§quantity: u32§price_copper: u32Trait Implementations§
Source§impl Clone for ShopBuyLine
impl Clone for ShopBuyLine
Source§fn clone(&self) -> ShopBuyLine
fn clone(&self) -> ShopBuyLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShopBuyLine
impl Debug for ShopBuyLine
Source§impl<'de> Deserialize<'de> for ShopBuyLine
impl<'de> Deserialize<'de> for ShopBuyLine
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 ShopBuyLine
impl PartialEq for ShopBuyLine
Source§impl Serialize for ShopBuyLine
impl Serialize for ShopBuyLine
impl StructuralPartialEq for ShopBuyLine
Auto Trait Implementations§
impl Freeze for ShopBuyLine
impl RefUnwindSafe for ShopBuyLine
impl Send for ShopBuyLine
impl Sync for ShopBuyLine
impl Unpin for ShopBuyLine
impl UnsafeUnpin for ShopBuyLine
impl UnwindSafe for ShopBuyLine
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