[][src]Struct nakadi_types::event_type::EventTypeAuthorization

pub struct EventTypeAuthorization {
    pub admins: AuthorizationAttributes,
    pub readers: AuthorizationAttributes,
    pub writers: AuthorizationAttributes,
}

Fields

admins: AuthorizationAttributesreaders: AuthorizationAttributeswriters: AuthorizationAttributes

Implementations

impl EventTypeAuthorization[src]

pub fn new<A, R, W>(admins: A, readers: R, writers: W) -> Self where
    A: Into<AuthorizationAttributes>,
    R: Into<AuthorizationAttributes>,
    W: Into<AuthorizationAttributes>, 
[src]

pub fn admin<T: Into<AuthorizationAttribute>>(self, admin: T) -> Self[src]

pub fn reader<T: Into<AuthorizationAttribute>>(self, reader: T) -> Self[src]

pub fn writer<T: Into<AuthorizationAttribute>>(self, writer: T) -> Self[src]

pub fn add_admin<T: Into<AuthorizationAttribute>>(&mut self, admin: T)[src]

pub fn add_reader<T: Into<AuthorizationAttribute>>(&mut self, reader: T)[src]

pub fn add_writer<T: Into<AuthorizationAttribute>>(&mut self, writer: T)[src]

Trait Implementations

impl Clone for EventTypeAuthorization[src]

impl Debug for EventTypeAuthorization[src]

impl Default for EventTypeAuthorization[src]

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

impl Serialize for EventTypeAuthorization[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, 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>,