[−][src]Struct teaclave_types::OwnerList
Fields
uids: HashSet<UserID>
Methods
impl OwnerList
[src]
pub fn new<T: IntoIterator>(uids: T) -> Self where
<T as IntoIterator>::Item: ToString,
[src]
<T as IntoIterator>::Item: ToString,
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]
I: IntoIterator<Item = Self>,
Trait Implementations
impl Clone for OwnerList
[src]
impl Debug for OwnerList
[src]
impl Default for OwnerList
[src]
impl<'de> Deserialize<'de> for OwnerList
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<OwnerList> for Vec<String>
[src]
impl<T> From<Vec<T>> for OwnerList where
T: ToString,
[src]
T: ToString,
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?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<OwnerList> for OwnerList
[src]
impl Serialize for OwnerList
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
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?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,