pub struct OfferPrice {
pub offer_id: String,
pub namespace: Option<String>,
pub effective_date: Option<String>,
pub expiry_date: Option<String>,
pub current_price: Option<PriceDetail>,
}Expand description
Price details for a single offer.
Fields§
§offer_id: String§namespace: Option<String>§effective_date: Option<String>§expiry_date: Option<String>§current_price: Option<PriceDetail>Trait Implementations§
Source§impl Clone for OfferPrice
impl Clone for OfferPrice
Source§fn clone(&self) -> OfferPrice
fn clone(&self) -> OfferPrice
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 OfferPrice
impl Debug for OfferPrice
Source§impl Default for OfferPrice
impl Default for OfferPrice
Source§fn default() -> OfferPrice
fn default() -> OfferPrice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OfferPrice
impl<'de> Deserialize<'de> for OfferPrice
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 OfferPrice
impl PartialEq for OfferPrice
Source§impl Serialize for OfferPrice
impl Serialize for OfferPrice
impl StructuralPartialEq for OfferPrice
Auto Trait Implementations§
impl Freeze for OfferPrice
impl RefUnwindSafe for OfferPrice
impl Send for OfferPrice
impl Sync for OfferPrice
impl Unpin for OfferPrice
impl UnwindSafe for OfferPrice
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