pub struct FilesystemPreopen {
pub path: String,
pub mode: FilesystemPreopenMode,
pub content_hash: Option<String>,
}Fields§
§path: String§mode: FilesystemPreopenMode§content_hash: Option<String>Implementations§
Source§impl FilesystemPreopen
impl FilesystemPreopen
pub fn new(path: String, mode: FilesystemPreopenMode) -> FilesystemPreopen
Trait Implementations§
Source§impl Clone for FilesystemPreopen
impl Clone for FilesystemPreopen
Source§fn clone(&self) -> FilesystemPreopen
fn clone(&self) -> FilesystemPreopen
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 FilesystemPreopen
impl Debug for FilesystemPreopen
Source§impl Default for FilesystemPreopen
impl Default for FilesystemPreopen
Source§fn default() -> FilesystemPreopen
fn default() -> FilesystemPreopen
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilesystemPreopen
impl<'de> Deserialize<'de> for FilesystemPreopen
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
Source§impl PartialEq for FilesystemPreopen
impl PartialEq for FilesystemPreopen
Source§fn eq(&self, other: &FilesystemPreopen) -> bool
fn eq(&self, other: &FilesystemPreopen) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FilesystemPreopen
impl Serialize for FilesystemPreopen
impl StructuralPartialEq for FilesystemPreopen
Auto Trait Implementations§
impl Freeze for FilesystemPreopen
impl RefUnwindSafe for FilesystemPreopen
impl Send for FilesystemPreopen
impl Sync for FilesystemPreopen
impl Unpin for FilesystemPreopen
impl UnsafeUnpin for FilesystemPreopen
impl UnwindSafe for FilesystemPreopen
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