pub struct ProductParameter {
pub product_type: ProductType,
pub share_link_id: Option<String>,
pub sku_id: Option<String>,
}Expand description
Product parameter
Fields§
§product_type: ProductType§sku_id: Option<String>Trait Implementations§
Source§impl Clone for ProductParameter
impl Clone for ProductParameter
Source§fn clone(&self) -> ProductParameter
fn clone(&self) -> ProductParameter
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 ProductParameter
impl Debug for ProductParameter
Source§impl<'de> Deserialize<'de> for ProductParameter
impl<'de> Deserialize<'de> for ProductParameter
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 ProductParameter
impl RefUnwindSafe for ProductParameter
impl Send for ProductParameter
impl Sync for ProductParameter
impl Unpin for ProductParameter
impl UnsafeUnpin for ProductParameter
impl UnwindSafe for ProductParameter
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