pub struct FileAttrs {
pub file_id: Box<str>,
pub owner_id_tag: Box<str>,
pub mime_type: Box<str>,
pub tags: Vec<Box<str>>,
pub visibility: Box<str>,
pub access_level: AccessLevel,
pub following: bool,
pub connected: bool,
}Expand description
File attributes for ABAC
Fields§
§file_id: Box<str>§owner_id_tag: Box<str>§mime_type: Box<str>§visibility: Box<str>§access_level: AccessLevel§following: boolWhether the subject follows the file owner
connected: boolWhether the subject is connected (mutual) with the file owner
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileAttrs
impl RefUnwindSafe for FileAttrs
impl Send for FileAttrs
impl Sync for FileAttrs
impl Unpin for FileAttrs
impl UnsafeUnpin for FileAttrs
impl UnwindSafe for FileAttrs
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