pub struct GooglePrivacyDlpV2DateTime {
pub date: Option<GoogleTypeDate>,
pub day_of_week: Option<String>,
pub time: Option<GoogleTypeTimeOfDay>,
pub time_zone: Option<GooglePrivacyDlpV2TimeZone>,
}Expand description
Message for a date time object. e.g. 2018-01-01, 5th August.
This type is not used in any activity, and only used as part of another schema.
Fields§
§date: Option<GoogleTypeDate>One or more of the following must be set. Must be a valid date or time value.
day_of_week: Option<String>Day of week
time: Option<GoogleTypeTimeOfDay>Time of day
time_zone: Option<GooglePrivacyDlpV2TimeZone>Time zone
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2DateTime
impl Clone for GooglePrivacyDlpV2DateTime
Source§fn clone(&self) -> GooglePrivacyDlpV2DateTime
fn clone(&self) -> GooglePrivacyDlpV2DateTime
Returns a duplicate 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 Debug for GooglePrivacyDlpV2DateTime
impl Debug for GooglePrivacyDlpV2DateTime
Source§impl Default for GooglePrivacyDlpV2DateTime
impl Default for GooglePrivacyDlpV2DateTime
Source§fn default() -> GooglePrivacyDlpV2DateTime
fn default() -> GooglePrivacyDlpV2DateTime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2DateTime
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2DateTime
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 GooglePrivacyDlpV2DateTime
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2DateTime
impl RefUnwindSafe for GooglePrivacyDlpV2DateTime
impl Send for GooglePrivacyDlpV2DateTime
impl Sync for GooglePrivacyDlpV2DateTime
impl Unpin for GooglePrivacyDlpV2DateTime
impl UnwindSafe for GooglePrivacyDlpV2DateTime
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