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

pub struct Offer {
    pub name: String,
    pub marketing_info: Option<MarketingInfo>,
    pub sku: Option<Sku>,
    pub plan: Option<Plan>,
    pub constraints: Option<Constraints>,
    pub price_by_resources: Vec<PriceByResource>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub parameter_definitions: Vec<ParameterDefinition>,
}
[]

Represents an offer made to resellers for purchase. An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and defines the constraints for buying.

Fields

name: String
[]

Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}

marketing_info: Option<MarketingInfo>
[]

Marketing information for the Offer.

sku: Option<Sku>
[]

SKU the offer is associated with.

plan: Option<Plan>
[]

Describes the payment plan for the Offer.

constraints: Option<Constraints>
[]

Constraints on transacting the Offer.

price_by_resources: Vec<PriceByResource>
[]

Price for each monetizable resource type.

start_time: Option<Timestamp>
[]

Start of the Offer validity time.

end_time: Option<Timestamp>
[]

Output only. End of the Offer validity time.

parameter_definitions: Vec<ParameterDefinition>
[]

Parameters required to use current Offer to purchase.

Trait Implementations

impl Clone for Offer[src][+]

impl Debug for Offer[src][+]

impl Default for Offer[src][+]

impl Message for Offer[src][+]

impl PartialEq<Offer> for Offer[src][+]

impl StructuralPartialEq for Offer[src]

Auto Trait Implementations

impl RefUnwindSafe for Offer

impl Send for Offer

impl Sync for Offer

impl Unpin for Offer

impl UnwindSafe for Offer

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][+]