Struct rustypaste_cli::upload::ListItem
source · pub struct ListItem {
pub file_name: String,
pub file_size: u64,
pub expires_at_utc: Option<String>,
}Expand description
File entry item for list endpoint.
Fields§
§file_name: StringUploaded file name.
file_size: u64Size of the file in bytes.
expires_at_utc: Option<String>ISO8601 formatted date-time string of the expiration timestamp if one exists for this file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ListItem
impl<'de> Deserialize<'de> for ListItem
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§
impl RefUnwindSafe for ListItem
impl Send for ListItem
impl Sync for ListItem
impl Unpin for ListItem
impl UnwindSafe for ListItem
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