pub struct FileSharedLink {
pub url: String,
pub download_url: Option<Option<String>>,
pub vanity_url: Option<Option<String>>,
pub vanity_name: Option<Option<String>>,
pub access: Option<SharedLinkAccess>,
pub effective_access: SharedLinkAccess,
pub effective_permission: SharedLinkEffectivePermission,
pub unshared_at: Option<Option<DateTime<Utc>>>,
pub is_password_enabled: bool,
pub permissions: Option<SharedLinkPermissions>,
pub download_count: i64,
pub preview_count: i64,
}Fields§
§url: String§download_url: Option<Option<String>>§vanity_url: Option<Option<String>>§vanity_name: Option<Option<String>>§access: Option<SharedLinkAccess>§effective_access: SharedLinkAccess§effective_permission: SharedLinkEffectivePermission§is_password_enabled: bool§permissions: Option<SharedLinkPermissions>§download_count: i64§preview_count: i64Trait Implementations§
Source§fn clone(&self) -> FileSharedLink
fn clone(&self) -> FileSharedLink
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() -> FileSharedLink
fn default() -> FileSharedLink
Returns the “default value” for a type. Read more
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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