Struct gapi_grpc::google::monitoring::v3::TimeInterval[][src]

pub struct TimeInterval {
    pub end_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
}

A closed time interval. It extends from the start time to the end time, and includes both: [startTime, endTime]. Valid time intervals depend on the MetricKind of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.

Fields

end_time: Option<Timestamp>

Required. The end of the time interval.

start_time: Option<Timestamp>

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

Trait Implementations

impl Clone for TimeInterval[src]

impl Debug for TimeInterval[src]

impl Default for TimeInterval[src]

impl Message for TimeInterval[src]

impl PartialEq<TimeInterval> for TimeInterval[src]

impl StructuralPartialEq for TimeInterval[src]

Auto Trait Implementations

impl RefUnwindSafe for TimeInterval

impl Send for TimeInterval

impl Sync for TimeInterval

impl Unpin for TimeInterval

impl UnwindSafe for TimeInterval

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]