pub struct ListItem {
pub file_name: String,
pub file_size: u64,
pub creation_date_utc: Option<String>,
pub expires_at_utc: Option<String>,
}
Expand description
File entry item for list endpoint.
Fields§
§file_name: String
Uploaded file name.
file_size: u64
Size of the file in bytes.
creation_date_utc: Option<String>
ISO8601 formatted date-time string of the creation timestamp.
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 Freeze for ListItem
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