[][src]Struct canistreamit::Offer

pub struct Offer {
    pub monetization_type: String,
    pub provider_id: u64,
    pub retail_price: Option<f64>,
    pub currency: Option<String>,
    pub urls: OfferUrls,
    pub presentation_type: String,
    pub date_created_provider_id: String,
    pub date_created: String,
    pub country: String,
}

Fields

monetization_type: Stringprovider_id: u64retail_price: Option<f64>currency: Option<String>urls: OfferUrlspresentation_type: Stringdate_created_provider_id: Stringdate_created: Stringcountry: String

Trait Implementations

impl Debug for Offer[src]

impl Serialize for Offer[src]

impl<'de> Deserialize<'de> for Offer[src]

Auto Trait Implementations

impl Sync for Offer

impl Send for Offer

impl Unpin for Offer

impl RefUnwindSafe for Offer

impl UnwindSafe for Offer

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err