Enum gapi_grpc::google::cloud::contactcenterinsights::v1::conversation::Expiration[][src]

pub enum Expiration {
    ExpireTime(Timestamp),
    Ttl(Duration),
}

A time to live expiration setting, can be either a specified timestamp or a duration from the time that the conversation creation request was received. Conversations with an expiration set will be removed up to 24 hours after the specified time.

Variants

ExpireTime(Timestamp)

The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.

Ttl(Duration)

Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.

Implementations

impl Expiration[src]

pub fn encode<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge<B>(
    field: &mut Option<Expiration>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

Trait Implementations

impl Clone for Expiration[src]

impl Debug for Expiration[src]

impl PartialEq<Expiration> for Expiration[src]

impl StructuralPartialEq for Expiration[src]

Auto Trait Implementations

impl RefUnwindSafe for Expiration

impl Send for Expiration

impl Sync for Expiration

impl Unpin for Expiration

impl UnwindSafe for Expiration

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]