Struct s3_filesystem::DirEntry
source · pub struct DirEntry {
pub path: PathBuf,
pub size: i64,
pub folder: bool,
}
Expand description
Holds information describing a file or folder.
Fields§
§path: PathBuf
Path data is located at in S3.
size: i64
Size of the data in bytes. Folders = 0 bytes.
folder: bool
Whether the S3 object is a folder or not.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnwindSafe for DirEntry
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.