pub struct StorageObject {
pub name: String,
pub id: Option<String>,
pub updated_at: Option<String>,
pub created_at: Option<String>,
pub last_accessed_at: Option<String>,
pub metadata: Option<Value>,
}Expand description
A storage object (file or folder).
Fields§
§name: StringThe name of the file or folder
id: Option<String>Optional unique identifier
updated_at: Option<String>Timestamp of last update
created_at: Option<String>Timestamp of creation
last_accessed_at: Option<String>Timestamp of last access
metadata: Option<Value>Optional metadata as JSON
Trait Implementations§
Source§impl Clone for StorageObject
impl Clone for StorageObject
Source§fn clone(&self) -> StorageObject
fn clone(&self) -> StorageObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageObject
impl Debug for StorageObject
Source§impl<'de> Deserialize<'de> for StorageObject
impl<'de> Deserialize<'de> for StorageObject
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 StorageObject
impl RefUnwindSafe for StorageObject
impl Send for StorageObject
impl Sync for StorageObject
impl Unpin for StorageObject
impl UnwindSafe for StorageObject
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