[][src]Struct google_dlp2::GoogleTypeTimeOfDay

pub struct GoogleTypeTimeOfDay {
    pub hours: Option<i32>,
    pub nanos: Option<i32>,
    pub minutes: Option<i32>,
    pub seconds: Option<i32>,
}

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

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.

nanos: Option<i32>

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

minutes: Option<i32>

Minutes of hour of day. Must be from 0 to 59.

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.

Trait Implementations

impl Part for GoogleTypeTimeOfDay[src]

impl Default for GoogleTypeTimeOfDay[src]

impl Clone for GoogleTypeTimeOfDay[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleTypeTimeOfDay[src]

impl Serialize for GoogleTypeTimeOfDay[src]

impl<'de> Deserialize<'de> for GoogleTypeTimeOfDay[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]