[][src]Struct nakadi_types::event::EventId

pub struct EventId(_);

Identifier for an event.

Sometimes also called EID.

Implementations

impl EventId[src]

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

impl EventId[src]

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

impl EventId[src]

pub fn random() -> Self[src]

Generate a new random EventId from a version 4 UUID

Trait Implementations

impl Clone for EventId[src]

impl Copy for EventId[src]

impl Debug for EventId[src]

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

impl Display for EventId[src]

impl Eq for EventId[src]

impl From<Eid> for EventId[src]

impl From<EventId> for Uuid[src]

impl From<Uuid> for EventId[src]

impl FromStr for EventId[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<EventId> for EventId[src]

impl Serialize for EventId[src]

impl StructuralEq for EventId[src]

impl StructuralPartialEq for EventId[src]

Auto Trait Implementations

impl RefUnwindSafe for EventId

impl Send for EventId

impl Sync for EventId

impl Unpin for EventId

impl UnwindSafe for EventId

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