pub struct FullPermissions {
pub view: Permission,
pub change: Permission,
}Expand description
The full permissions for a paperless item.
Fields§
§view: PermissionThe users and groups that can view the item.
change: PermissionThe users and groups that can change the item.
Trait Implementations§
Source§impl Clone for FullPermissions
impl Clone for FullPermissions
Source§fn clone(&self) -> FullPermissions
fn clone(&self) -> FullPermissions
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 FullPermissions
impl Debug for FullPermissions
Source§impl<'de> Deserialize<'de> for FullPermissions
impl<'de> Deserialize<'de> for FullPermissions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FullPermissions
impl RefUnwindSafe for FullPermissions
impl Send for FullPermissions
impl Sync for FullPermissions
impl Unpin for FullPermissions
impl UnsafeUnpin for FullPermissions
impl UnwindSafe for FullPermissions
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