pub struct RefData {
pub ref_id: Box<str>,
pub type: Box<str>,
pub description: Option<Box<str>>,
pub created_at: Timestamp,
pub expires_at: Option<Timestamp>,
pub count: Option<u32>,
pub resource_id: Option<Box<str>>,
pub access_level: Option<char>,
}Fields§
§ref_id: Box<str>§type: Box<str>§description: Option<Box<str>>§created_at: Timestamp§expires_at: Option<Timestamp>§count: Option<u32>Usage count: None = unlimited, Some(n) = n uses remaining
resource_id: Option<Box<str>>Resource ID for share links (e.g., file_id for share.file type)
access_level: Option<char>Access level for share links (‘R’=Read, ‘W’=Write)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefData
impl RefUnwindSafe for RefData
impl Send for RefData
impl Sync for RefData
impl Unpin for RefData
impl UnsafeUnpin for RefData
impl UnwindSafe for RefData
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