[][src]Struct extrahop::sharing::Sharing

pub struct Sharing<R> {
    pub anyone: Option<R>,
    pub users: HashMap<Username, R>,
    pub groups: HashMap<UserGroupId, R>,
}

A representation of a sharing structure.

Fields

anyone: Option<R>

The access level guaranteed to all authenticated users on the appliance.

users: HashMap<Username, R>

A map of users to granted access levels.

groups: HashMap<UserGroupId, R>

A map of user groups to granted access levels.

Trait Implementations

impl Patch for Sharing<Option<Role>>[src]

impl<R: Eq> Eq for Sharing<R>[src]

impl<R: Clone> Clone for Sharing<R>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R: PartialEq> PartialEq<Sharing<R>> for Sharing<R>[src]

impl Default for Sharing<Option<Role>>[src]

A no-op sharing update.

impl<R: Debug> Debug for Sharing<R>[src]

impl<R> Serialize for Sharing<R> where
    R: Serialize
[src]

impl<'de, R> Deserialize<'de> for Sharing<R> where
    R: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<R> Send for Sharing<R> where
    R: Send

impl<R> Sync for Sharing<R> where
    R: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T