Struct gapi_grpc::google::type::Interval[][src]

pub struct Interval {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
}
[]

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.

Fields

start_time: Option<Timestamp>
[]

Optional. Inclusive start of the interval.

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

end_time: Option<Timestamp>
[]

Optional. Exclusive end of the interval.

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

Trait Implementations

impl Clone for Interval[src][+]

impl Debug for Interval[src][+]

impl Default for Interval[src][+]

impl Message for Interval[src][+]

impl PartialEq<Interval> for Interval[src][+]

impl StructuralPartialEq for Interval[src]

Auto Trait Implementations

impl RefUnwindSafe for Interval

impl Send for Interval

impl Sync for Interval

impl Unpin for Interval

impl UnwindSafe for Interval

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][+]