pub struct FsBackendMountCmd {
pub fs_type: FsBackendType,
pub source: String,
pub config: String,
pub mountpoint: String,
pub prefetch_files: Option<Vec<String>>,
}Expand description
Request structure to mount a filesystem instance.
Fields§
§fs_type: FsBackendTypeFilesystem type.
source: StringMount source.
config: StringConfiguration information for the mount operation.
mountpoint: StringFilesystem mountpoint.
prefetch_files: Option<Vec<String>>Optional prefetch file list.
Trait Implementations§
Source§impl Clone for FsBackendMountCmd
impl Clone for FsBackendMountCmd
Source§fn clone(&self) -> FsBackendMountCmd
fn clone(&self) -> FsBackendMountCmd
Returns a duplicate of the value. Read more
1.0.0 · 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 FsBackendMountCmd
impl Debug for FsBackendMountCmd
Source§impl Versionize for FsBackendMountCmd
impl Versionize for FsBackendMountCmd
Source§fn serialize<W: Write>(
&self,
writer: &mut W,
version_map: &VersionMap,
app_version: u16,
) -> VersionizeResult<()>
fn serialize<W: Write>( &self, writer: &mut W, version_map: &VersionMap, app_version: u16, ) -> VersionizeResult<()>
Serializes
self to target_verion using the specficifed writer and
version_map.Source§fn deserialize<R: Read>(
reader: &mut R,
version_map: &VersionMap,
app_version: u16,
) -> VersionizeResult<Self>
fn deserialize<R: Read>( reader: &mut R, version_map: &VersionMap, app_version: u16, ) -> VersionizeResult<Self>
Returns a new instance of
Self by deserializing from source_version
using the specficifed reader and version_map.Auto Trait Implementations§
impl Freeze for FsBackendMountCmd
impl RefUnwindSafe for FsBackendMountCmd
impl Send for FsBackendMountCmd
impl Sync for FsBackendMountCmd
impl Unpin for FsBackendMountCmd
impl UnwindSafe for FsBackendMountCmd
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