[][src]Struct nakadi_types::event_type::RetentionTime

pub struct RetentionTime(_);

Number of milliseconds that Nakadi stores events published to this event type.

See also Nakadi Manual

Implementations

impl RetentionTime[src]

pub fn new<T: Into<u64>>(v: T) -> Self[src]

impl RetentionTime[src]

pub fn into_inner(self) -> u64[src]

impl RetentionTime[src]

pub fn to_duration(self) -> Duration[src]

Trait Implementations

impl Clone for RetentionTime[src]

impl Copy for RetentionTime[src]

impl Debug for RetentionTime[src]

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

impl Display for RetentionTime[src]

impl Eq for RetentionTime[src]

impl From<RetentionTime> for u64[src]

impl From<u64> for RetentionTime[src]

impl FromStr for RetentionTime[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for RetentionTime[src]

impl Ord for RetentionTime[src]

impl PartialEq<RetentionTime> for RetentionTime[src]

impl PartialOrd<RetentionTime> for RetentionTime[src]

impl Serialize for RetentionTime[src]

impl StructuralEq for RetentionTime[src]

impl StructuralPartialEq for RetentionTime[src]

Auto Trait Implementations

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, 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> ToString for T where
    T: Display + ?Sized
[src]

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>,