pub struct ShareRequest {
pub path: PathBuf,
pub expires: Duration,
pub encrypt: bool,
pub downloads: Option<u32>,
pub pin: Option<String>,
pub from: Option<String>,
pub message: Option<String>,
}Expand description
What to share: a resolved local path plus the policy for the resulting link.
Fields§
§path: PathBuf§expires: Duration§encrypt: bool§downloads: Option<u32>§pin: Option<String>§from: Option<String>§message: Option<String>Auto 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