pub struct DevProduct {
pub name: String,
pub price: u32,
pub id: u64,
pub description: String,
pub image_asset_id: Option<u64>,
pub shop_id: u64,
}Fields§
§name: String§price: u32§id: u64§description: String§image_asset_id: Option<u64>§shop_id: u64Trait Implementations§
Source§impl Clone for DevProduct
impl Clone for DevProduct
Source§fn clone(&self) -> DevProduct
fn clone(&self) -> DevProduct
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 DevProduct
impl Debug for DevProduct
Source§impl<'de> Deserialize<'de> for DevProduct
impl<'de> Deserialize<'de> for DevProduct
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 Display for DevProduct
impl Display for DevProduct
Auto Trait Implementations§
impl Freeze for DevProduct
impl RefUnwindSafe for DevProduct
impl Send for DevProduct
impl Sync for DevProduct
impl Unpin for DevProduct
impl UnwindSafe for DevProduct
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