pub struct SessionFsStatResult {
pub birthtime: String,
pub error: Option<SessionFsError>,
pub is_directory: bool,
pub is_file: bool,
pub mtime: String,
pub size: i64,
}Expand description
Filesystem metadata for the requested path, or a filesystem error if the stat failed.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§birthtime: StringISO 8601 timestamp of creation
error: Option<SessionFsError>Describes a filesystem error.
is_directory: boolWhether the path is a directory
is_file: boolWhether the path is a file
mtime: StringISO 8601 timestamp of last modification
size: i64File size in bytes
Trait Implementations§
Source§impl Clone for SessionFsStatResult
impl Clone for SessionFsStatResult
Source§fn clone(&self) -> SessionFsStatResult
fn clone(&self) -> SessionFsStatResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionFsStatResult
impl Debug for SessionFsStatResult
Source§impl Default for SessionFsStatResult
impl Default for SessionFsStatResult
Source§fn default() -> SessionFsStatResult
fn default() -> SessionFsStatResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionFsStatResult
impl<'de> Deserialize<'de> for SessionFsStatResult
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 SessionFsStatResult
impl RefUnwindSafe for SessionFsStatResult
impl Send for SessionFsStatResult
impl Sync for SessionFsStatResult
impl Unpin for SessionFsStatResult
impl UnsafeUnpin for SessionFsStatResult
impl UnwindSafe for SessionFsStatResult
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