pub struct WorkspacesStatFileResult {
pub birthtime_ms: f64,
pub is_directory: bool,
pub is_file: bool,
pub mtime_ms: f64,
pub size: f64,
}Expand description
Filesystem metadata for a path in the session workspace files directory.
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_ms: f64Creation time in Unix epoch milliseconds
is_directory: boolWhether the path identifies a directory
is_file: boolWhether the path identifies a regular file
mtime_ms: f64Last modification time in Unix epoch milliseconds
size: f64Size in bytes
Trait Implementations§
Source§impl Clone for WorkspacesStatFileResult
impl Clone for WorkspacesStatFileResult
Source§fn clone(&self) -> WorkspacesStatFileResult
fn clone(&self) -> WorkspacesStatFileResult
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 WorkspacesStatFileResult
impl Debug for WorkspacesStatFileResult
Source§impl Default for WorkspacesStatFileResult
impl Default for WorkspacesStatFileResult
Source§fn default() -> WorkspacesStatFileResult
fn default() -> WorkspacesStatFileResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspacesStatFileResult
impl<'de> Deserialize<'de> for WorkspacesStatFileResult
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 WorkspacesStatFileResult
impl RefUnwindSafe for WorkspacesStatFileResult
impl Send for WorkspacesStatFileResult
impl Sync for WorkspacesStatFileResult
impl Unpin for WorkspacesStatFileResult
impl UnsafeUnpin for WorkspacesStatFileResult
impl UnwindSafe for WorkspacesStatFileResult
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