pub struct Share {
pub key: String,
pub password: String,
pub is_dir: bool,
pub downloads: i64,
pub remain_downloads: i64,
pub expire: i64,
pub preview: bool,
pub owner_id: String,
pub owner_nick: String,
pub created_at: String,
}Expand description
Share link information for v3 API
Fields§
§key: String§password: String§is_dir: bool§downloads: i64§remain_downloads: i64§expire: i64§preview: bool§owner_id: String§owner_nick: String§created_at: StringTrait Implementations§
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