pub enum FileList {
V3(DirectoryList),
V4(Box<ListResponse>),
}Expand description
Unified file list response
Wraps both V3 and V4 directory listing responses.
Variants§
V3(DirectoryList)
V4(Box<ListResponse>)
Implementations§
Source§impl FileList
impl FileList
Sourcepub fn parent_name(&self) -> String
pub fn parent_name(&self) -> String
Get parent directory name
Sourcepub fn parent_path(&self) -> String
pub fn parent_path(&self) -> String
Get parent directory path
Sourcepub fn storage_policy_id(&self) -> Option<String>
pub fn storage_policy_id(&self) -> Option<String>
Get storage policy ID (V4 only)
Sourcepub fn storage_policy_name(&self) -> Option<String>
pub fn storage_policy_name(&self) -> Option<String>
Get storage policy name (V4 only)
Sourcepub fn total_count(&self) -> usize
pub fn total_count(&self) -> usize
Get total count
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileList
impl RefUnwindSafe for FileList
impl Send for FileList
impl Sync for FileList
impl Unpin for FileList
impl UnwindSafe for FileList
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