Struct google_dlp2_beta1::api::GoogleTypeTimeOfDay
source · pub struct GoogleTypeTimeOfDay {
pub nanos: Option<i32>,
pub seconds: Option<i32>,
pub minutes: Option<i32>,
pub hours: Option<i32>,
}
Expand description
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§nanos: Option<i32>
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds: Option<i32>
Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
minutes: Option<i32>
Minutes of hour of day. Must be from 0 to 59.
hours: Option<i32>
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value “24:00:00” for scenarios like business closing time.
Trait Implementations§
source§impl Clone for GoogleTypeTimeOfDay
impl Clone for GoogleTypeTimeOfDay
source§fn clone(&self) -> GoogleTypeTimeOfDay
fn clone(&self) -> GoogleTypeTimeOfDay
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 Debug for GoogleTypeTimeOfDay
impl Debug for GoogleTypeTimeOfDay
source§impl Default for GoogleTypeTimeOfDay
impl Default for GoogleTypeTimeOfDay
source§fn default() -> GoogleTypeTimeOfDay
fn default() -> GoogleTypeTimeOfDay
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleTypeTimeOfDay
impl<'de> Deserialize<'de> for GoogleTypeTimeOfDay
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
source§impl Serialize for GoogleTypeTimeOfDay
impl Serialize for GoogleTypeTimeOfDay
impl Part for GoogleTypeTimeOfDay
Auto Trait Implementations§
impl RefUnwindSafe for GoogleTypeTimeOfDay
impl Send for GoogleTypeTimeOfDay
impl Sync for GoogleTypeTimeOfDay
impl Unpin for GoogleTypeTimeOfDay
impl UnwindSafe for GoogleTypeTimeOfDay
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