Struct nakadi_types::subscription::SubscriptionAuthorization [−][src]
pub struct SubscriptionAuthorization { pub admins: AuthorizationAttributes, pub readers: AuthorizationAttributes, }
Expand description
Authorization section of a Subscription
This section defines two access control lists: one for consuming events and committing cursors (‘readers’), and one for administering a subscription (‘admins’). Regardless of the values of the authorization properties, administrator accounts will always be authorized.
See also Nakadi Manual
Fields
admins: AuthorizationAttributes
readers: AuthorizationAttributes
Implementations
pub fn new<A, R>(admins: A, readers: R) -> Self where
A: Into<AuthorizationAttributes>,
R: Into<AuthorizationAttributes>,
[src]Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionAuthorization
impl Send for SubscriptionAuthorization
impl Sync for SubscriptionAuthorization
impl Unpin for SubscriptionAuthorization
impl UnwindSafe for SubscriptionAuthorization
Blanket Implementations
Mutably borrows from an owned value. Read more