pub struct GoogleCloudChannelV1CommitmentSettings {
pub end_time: Option<DateTime<Utc>>,
pub renewal_settings: Option<GoogleCloudChannelV1RenewalSettings>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
Commitment settings for commitment-based offers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>
Output only. Commitment end timestamp.
renewal_settings: Option<GoogleCloudChannelV1RenewalSettings>
Optional. Renewal settings applicable for a commitment-based Offer.
start_time: Option<DateTime<Utc>>
Output only. Commitment start timestamp.
Trait Implementations§
source§impl Clone for GoogleCloudChannelV1CommitmentSettings
impl Clone for GoogleCloudChannelV1CommitmentSettings
source§fn clone(&self) -> GoogleCloudChannelV1CommitmentSettings
fn clone(&self) -> GoogleCloudChannelV1CommitmentSettings
Returns a copy of the value. Read more
1.0.0 · 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 GoogleCloudChannelV1CommitmentSettings
impl Default for GoogleCloudChannelV1CommitmentSettings
source§fn default() -> GoogleCloudChannelV1CommitmentSettings
fn default() -> GoogleCloudChannelV1CommitmentSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudChannelV1CommitmentSettings
impl<'de> Deserialize<'de> for GoogleCloudChannelV1CommitmentSettings
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 GoogleCloudChannelV1CommitmentSettings
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudChannelV1CommitmentSettings
impl Send for GoogleCloudChannelV1CommitmentSettings
impl Sync for GoogleCloudChannelV1CommitmentSettings
impl Unpin for GoogleCloudChannelV1CommitmentSettings
impl UnwindSafe for GoogleCloudChannelV1CommitmentSettings
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