pub struct GoogleCloudChannelV1PurchasableOffer {
pub offer: Option<GoogleCloudChannelV1Offer>,
pub price_reference_id: Option<String>,
}Expand description
Offer that you can purchase for a customer. This is used in the ListPurchasableOffer API response.
This type is not used in any activity, and only used as part of another schema.
Fields§
§offer: Option<GoogleCloudChannelV1Offer>Offer.
price_reference_id: Option<String>Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
Trait Implementations§
Source§impl Clone for GoogleCloudChannelV1PurchasableOffer
impl Clone for GoogleCloudChannelV1PurchasableOffer
Source§fn clone(&self) -> GoogleCloudChannelV1PurchasableOffer
fn clone(&self) -> GoogleCloudChannelV1PurchasableOffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudChannelV1PurchasableOffer
impl Default for GoogleCloudChannelV1PurchasableOffer
Source§fn default() -> GoogleCloudChannelV1PurchasableOffer
fn default() -> GoogleCloudChannelV1PurchasableOffer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudChannelV1PurchasableOffer
impl<'de> Deserialize<'de> for GoogleCloudChannelV1PurchasableOffer
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
impl Part for GoogleCloudChannelV1PurchasableOffer
Auto Trait Implementations§
impl Freeze for GoogleCloudChannelV1PurchasableOffer
impl RefUnwindSafe for GoogleCloudChannelV1PurchasableOffer
impl Send for GoogleCloudChannelV1PurchasableOffer
impl Sync for GoogleCloudChannelV1PurchasableOffer
impl Unpin for GoogleCloudChannelV1PurchasableOffer
impl UnsafeUnpin for GoogleCloudChannelV1PurchasableOffer
impl UnwindSafe for GoogleCloudChannelV1PurchasableOffer
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