[][src]Struct pachyderm::auth::Acl

pub struct Acl {
    pub entries: HashMap<String, i32>,
}

Fields

entries: HashMap<String, i32>

principal -> scope. All principals are the default principal of a Pachyderm subject (i.e. all keys in this map are strings prefixed with either "github:" or "robot:", followed by the name of a GitHub user, all of whom are Pachyderm subjects, or a Pachyderm robot user)

Implementations

impl Acl[src]

pub fn get_entries(&self, key: &str) -> Option<Scope>[src]

Returns the enum value for the corresponding key in entries, or None if the entry does not exist or it is not a valid enum value.

pub fn insert_entries(&mut self, key: String, value: Scope) -> Option<Scope>[src]

Inserts a key value pair into entries.

Trait Implementations

impl Clone for Acl[src]

impl Debug for Acl[src]

impl Default for Acl[src]

impl Message for Acl[src]

impl PartialEq<Acl> for Acl[src]

impl StructuralPartialEq for Acl[src]

Auto Trait Implementations

impl RefUnwindSafe for Acl

impl Send for Acl

impl Sync for Acl

impl Unpin for Acl

impl UnwindSafe for Acl

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

impl<T> WithSubscriber for T[src]