Struct google_classroom1::TimeOfDay [] [src]

pub struct TimeOfDay {
    pub hours: Option<i32>,
    pub nanos: Option<i32>,
    pub seconds: Option<i32>,
    pub minutes: 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 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.

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

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 of hour of day. Must be from 0 to 59.

Trait Implementations

impl Default for TimeOfDay
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for TimeOfDay
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TimeOfDay
[src]

[src]

Formats the value using the given formatter.

impl Part for TimeOfDay
[src]