pub struct WorkspaceFile {
pub path: String,
pub size_bytes: u64,
pub digest: String,
}Expand description
A file entry returned by a runtime adapter.
Fields§
§path: StringWorkspace-relative path.
size_bytes: u64File size in bytes.
digest: StringSHA-256 digest prefixed with sha256:.
Trait Implementations§
Source§impl Clone for WorkspaceFile
impl Clone for WorkspaceFile
Source§fn clone(&self) -> WorkspaceFile
fn clone(&self) -> WorkspaceFile
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 WorkspaceFile
impl Debug for WorkspaceFile
Auto Trait Implementations§
impl Freeze for WorkspaceFile
impl RefUnwindSafe for WorkspaceFile
impl Send for WorkspaceFile
impl Sync for WorkspaceFile
impl Unpin for WorkspaceFile
impl UnsafeUnpin for WorkspaceFile
impl UnwindSafe for WorkspaceFile
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