pub struct ShareEntry {
pub id: i64,
pub resource_type: char,
pub resource_id: Box<str>,
pub subject_type: char,
pub subject_id: Box<str>,
pub permission: char,
pub expires_at: Option<Timestamp>,
pub created_by: Box<str>,
pub created_at: Timestamp,
pub subject_file_name: Option<Box<str>>,
pub subject_content_type: Option<Box<str>>,
pub subject_file_tp: Option<Box<str>>,
}Fields§
§id: i64§resource_type: char§resource_id: Box<str>§subject_type: char§subject_id: Box<str>§permission: char§expires_at: Option<Timestamp>§created_by: Box<str>§created_at: Timestamp§subject_file_name: Option<Box<str>>§subject_content_type: Option<Box<str>>§subject_file_tp: Option<Box<str>>Trait Implementations§
Source§fn clone(&self) -> ShareEntry
fn clone(&self) -> ShareEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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