[][src]Struct pachyderm::auth::GetAclResponse

pub struct GetAclResponse {
    pub entries: Vec<AclEntry>,
    pub robot_entries: Vec<AclEntry>,
}

GetACLReponse contains the list of entries on a Pachyderm ACL.

To avoid migration pain with the Pachyderm dash the list of user principal entries and robot principal entries are separate. This way, no prefix or other disambiguating device is needed in 'entries' to separate user principals from robot principals (which would confuse the dash). Instead, the dash can simply ignore robot principals.

Fields

entries: Vec<AclEntry>

entries contains all [user principal] -> [role] mappings. This is separate from robot_entries to avoid migration pain the Pachyderm dashboard

robot_entries: Vec<AclEntry>

robot_entries contains all [robot principal] -> [role] mappings. This is separate from entries to be unambiguous (all keys are robot principals, but have no prefixes) while avoiding migration pain in the Pachyderm dashboard.

Trait Implementations

impl Clone for GetAclResponse[src]

impl Debug for GetAclResponse[src]

impl Default for GetAclResponse[src]

impl Message for GetAclResponse[src]

impl PartialEq<GetAclResponse> for GetAclResponse[src]

impl StructuralPartialEq for GetAclResponse[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> 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]