pub struct ParsedDeal {
pub deal_id: String,
pub releases: Vec<String>,
pub validity: DealValidity,
pub territories: TerritoryComplexity,
pub distribution_channels: DistributionComplexity,
pub pricing: Vec<PriceTier>,
pub usage_rights: Vec<String>,
pub restrictions: Vec<String>,
}
Fields§
§deal_id: String
§releases: Vec<String>
§validity: DealValidity
§territories: TerritoryComplexity
§distribution_channels: DistributionComplexity
§pricing: Vec<PriceTier>
§usage_rights: Vec<String>
§restrictions: Vec<String>
Trait Implementations§
Source§impl Clone for ParsedDeal
impl Clone for ParsedDeal
Source§fn clone(&self) -> ParsedDeal
fn clone(&self) -> ParsedDeal
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 ParsedDeal
impl Debug for ParsedDeal
Source§impl<'de> Deserialize<'de> for ParsedDeal
impl<'de> Deserialize<'de> for ParsedDeal
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 ParsedDeal
impl RefUnwindSafe for ParsedDeal
impl Send for ParsedDeal
impl Sync for ParsedDeal
impl Unpin for ParsedDeal
impl UnwindSafe for ParsedDeal
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