[][src]Struct teaclave_types::OwnerList

pub struct OwnerList {
    pub uids: HashSet<UserID>,
}

Fields

uids: HashSet<UserID>

Methods

impl OwnerList[src]

pub fn new<T: IntoIterator>(uids: T) -> Self where
    <T as IntoIterator>::Item: ToString
[src]

pub fn contains(&self, uid: &UserID) -> bool[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn insert(&mut self, value: UserID) -> bool[src]

pub fn union(self, other: Self) -> Self[src]

pub fn unions<I>(i: I) -> Self where
    I: IntoIterator<Item = Self>, 
[src]

Trait Implementations

impl Clone for OwnerList[src]

impl Debug for OwnerList[src]

impl Default for OwnerList[src]

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

impl From<OwnerList> for Vec<String>[src]

impl<T> From<Vec<T>> for OwnerList where
    T: ToString
[src]

impl IntoIterator for OwnerList[src]

type Item = UserID

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

impl PartialEq<OwnerList> for OwnerList[src]

impl Serialize for OwnerList[src]

impl StructuralPartialEq for OwnerList[src]

Auto Trait Implementations

impl RefUnwindSafe for OwnerList

impl Send for OwnerList

impl Sync for OwnerList

impl Unpin for OwnerList

impl UnwindSafe for OwnerList

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: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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>, 
[src]