Struct google_sheets4::api::Interval[][src]

pub struct Interval {
    pub end_time: Option<String>,
    pub start_time: Option<String>,
}

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

This type is not used in any activity, and only used as part of another schema.

Fields

end_time: Option<String>

Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.

start_time: Option<String>

Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

Trait Implementations

impl Clone for Interval[src]

impl Debug for Interval[src]

impl Default for Interval[src]

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

impl Part for Interval[src]

impl Serialize for Interval[src]

Auto Trait Implementations

impl RefUnwindSafe for Interval[src]

impl Send for Interval[src]

impl Sync for Interval[src]

impl Unpin for Interval[src]

impl UnwindSafe for Interval[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.