pub struct CreateRefOptions {
pub typ: String,
pub description: Option<String>,
pub expires_at: Option<Timestamp>,
pub count: Option<u32>,
pub resource_id: Option<String>,
pub access_level: Option<char>,
pub params: Option<String>,
}Fields§
§typ: String§description: Option<String>§expires_at: Option<Timestamp>§count: Option<u32>§resource_id: Option<String>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)
params: Option<String>Launch params as serialized query string (e.g., “mode=present”)
Trait Implementations§
Source§impl Default for CreateRefOptions
impl Default for CreateRefOptions
Source§fn default() -> CreateRefOptions
fn default() -> CreateRefOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateRefOptions
impl RefUnwindSafe for CreateRefOptions
impl Send for CreateRefOptions
impl Sync for CreateRefOptions
impl Unpin for CreateRefOptions
impl UnsafeUnpin for CreateRefOptions
impl UnwindSafe for CreateRefOptions
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