pub struct CreateShareLink {
pub document: DocumentId,
pub expiration: DateTime<Utc>,
pub file_version: ShareLinkFileVersion,
}Fields§
§document: DocumentIdDocument of the share link.
expiration: DateTime<Utc>When the share link expires.
file_version: ShareLinkFileVersionFile version of the share link.
Trait Implementations§
Source§fn clone(&self) -> CreateShareLink
fn clone(&self) -> CreateShareLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> CreateShareLink
fn default() -> CreateShareLink
Returns the “default value” for a type. Read more
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