pub struct Authorizations { /* private fields */ }Implementations§
Source§impl Authorizations
impl Authorizations
pub fn new( owners: Vec<OwnerSubject>, viewers: Vec<ViewerSubject>, ) -> Result<Authorizations, String>
pub fn owners(&self) -> &[OwnerSubject]
pub fn viewers(&self) -> &[ViewerSubject]
Trait Implementations§
Source§impl Clone for Authorizations
impl Clone for Authorizations
Source§fn clone(&self) -> Authorizations
fn clone(&self) -> Authorizations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Authorizations
impl Debug for Authorizations
impl Eq for Authorizations
Source§impl Hash for Authorizations
impl Hash for Authorizations
Source§impl PartialEq for Authorizations
impl PartialEq for Authorizations
impl StructuralPartialEq for Authorizations
Auto Trait Implementations§
impl Freeze for Authorizations
impl RefUnwindSafe for Authorizations
impl Send for Authorizations
impl Sync for Authorizations
impl Unpin for Authorizations
impl UnsafeUnpin for Authorizations
impl UnwindSafe for Authorizations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more