pub struct FlavorPriceCreateData {
pub flavor: u32,
pub user_class: UserClass,
pub price: Option<f64>,
pub start_time: Option<DateTime<FixedOffset>>,
}Fields§
§flavor: u32§user_class: UserClass§price: Option<f64>§start_time: Option<DateTime<FixedOffset>>Implementations§
Trait Implementations§
Source§impl Clone for FlavorPriceCreateData
impl Clone for FlavorPriceCreateData
Source§fn clone(&self) -> FlavorPriceCreateData
fn clone(&self) -> FlavorPriceCreateData
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 FlavorPriceCreateData
impl Debug for FlavorPriceCreateData
Source§impl<'de> Deserialize<'de> for FlavorPriceCreateData
impl<'de> Deserialize<'de> for FlavorPriceCreateData
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 FlavorPriceCreateData
impl PartialEq for FlavorPriceCreateData
Source§impl Serialize for FlavorPriceCreateData
impl Serialize for FlavorPriceCreateData
impl StructuralPartialEq for FlavorPriceCreateData
Auto Trait Implementations§
impl Freeze for FlavorPriceCreateData
impl RefUnwindSafe for FlavorPriceCreateData
impl Send for FlavorPriceCreateData
impl Sync for FlavorPriceCreateData
impl Unpin for FlavorPriceCreateData
impl UnwindSafe for FlavorPriceCreateData
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