Enum gapi_grpc::google::devtools::clouderrorreporting::v1beta1::TimedCountAlignment[][src]

#[repr(i32)]pub enum TimedCountAlignment {
    ErrorCountAlignmentUnspecified,
    AlignmentEqualRounded,
    AlignmentEqualAtEnd,
}

Specifies how the time periods of error group counts are aligned.

Variants

ErrorCountAlignmentUnspecified

No alignment specified.

AlignmentEqualRounded

The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the alignment_time provided in the request. The alignment_time does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.

AlignmentEqualAtEnd

The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.

Implementations

impl TimedCountAlignment[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of TimedCountAlignment.

pub fn from_i32(value: i32) -> Option<TimedCountAlignment>[src]

Converts an i32 to a TimedCountAlignment, or None if value is not a valid variant.

Trait Implementations

impl Clone for TimedCountAlignment[src]

impl Copy for TimedCountAlignment[src]

impl Debug for TimedCountAlignment[src]

impl Default for TimedCountAlignment[src]

impl Eq for TimedCountAlignment[src]

impl From<TimedCountAlignment> for i32[src]

impl Hash for TimedCountAlignment[src]

impl Ord for TimedCountAlignment[src]

impl PartialEq<TimedCountAlignment> for TimedCountAlignment[src]

impl PartialOrd<TimedCountAlignment> for TimedCountAlignment[src]

impl StructuralEq for TimedCountAlignment[src]

impl StructuralPartialEq for TimedCountAlignment[src]

Auto Trait Implementations

impl RefUnwindSafe for TimedCountAlignment

impl Send for TimedCountAlignment

impl Sync for TimedCountAlignment

impl Unpin for TimedCountAlignment

impl UnwindSafe for TimedCountAlignment

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]