pub struct GoogleCloudChannelV1Period {
pub duration: Option<i32>,
pub period_type: Option<String>,
}Expand description
Represents period in days/months/years.
This type is not used in any activity, and only used as part of another schema.
Fields§
§duration: Option<i32>Total duration of Period Type defined.
period_type: Option<String>Period Type.
Trait Implementations§
Source§impl Clone for GoogleCloudChannelV1Period
impl Clone for GoogleCloudChannelV1Period
Source§fn clone(&self) -> GoogleCloudChannelV1Period
fn clone(&self) -> GoogleCloudChannelV1Period
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 Debug for GoogleCloudChannelV1Period
impl Debug for GoogleCloudChannelV1Period
Source§impl Default for GoogleCloudChannelV1Period
impl Default for GoogleCloudChannelV1Period
Source§fn default() -> GoogleCloudChannelV1Period
fn default() -> GoogleCloudChannelV1Period
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudChannelV1Period
impl<'de> Deserialize<'de> for GoogleCloudChannelV1Period
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 GoogleCloudChannelV1Period
Auto Trait Implementations§
impl Freeze for GoogleCloudChannelV1Period
impl RefUnwindSafe for GoogleCloudChannelV1Period
impl Send for GoogleCloudChannelV1Period
impl Sync for GoogleCloudChannelV1Period
impl Unpin for GoogleCloudChannelV1Period
impl UnsafeUnpin for GoogleCloudChannelV1Period
impl UnwindSafe for GoogleCloudChannelV1Period
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