Enum googapis::google::cloud::channel::v1::list_purchasable_skus_request::PurchaseOption [−][src]
pub enum PurchaseOption {
CreateEntitlementPurchase(CreateEntitlementPurchase),
ChangeOfferPurchase(ChangeOfferPurchase),
}
Expand description
Defines the intended purchase.
Variants
CreateEntitlementPurchase(CreateEntitlementPurchase)
List SKUs for CreateEntitlement purchase.
Tuple Fields of CreateEntitlementPurchase
ChangeOfferPurchase(ChangeOfferPurchase)
List SKUs for ChangeOffer purchase with a new SKU.
Tuple Fields of ChangeOfferPurchase
Implementations
pub fn merge<B>(
field: &mut Option<PurchaseOption>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PurchaseOption
impl Send for PurchaseOption
impl Sync for PurchaseOption
impl Unpin for PurchaseOption
impl UnwindSafe for PurchaseOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more