Struct gapi_grpc::google::cloud::channel::v1::Price[][src]

pub struct Price {
    pub base_price: Option<Money>,
    pub discount: f64,
    pub effective_price: Option<Money>,
    pub external_price_uri: String,
}

Represents the price of the Offer.

Fields

base_price: Option<Money>

Base price.

discount: f64

Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.

effective_price: Option<Money>

Effective Price after applying the discounts.

external_price_uri: String

Link to external price list, such as link to Google Voice rate card.

Trait Implementations

impl Clone for Price[src]

impl Debug for Price[src]

impl Default for Price[src]

impl Message for Price[src]

impl PartialEq<Price> for Price[src]

impl StructuralPartialEq for Price[src]

Auto Trait Implementations

impl RefUnwindSafe for Price

impl Send for Price

impl Sync for Price

impl Unpin for Price

impl UnwindSafe for Price

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]