Struct nydus_api::http::ApiMountCmd
source · [−]pub struct ApiMountCmd {
pub source: String,
pub fs_type: String,
pub config: String,
pub prefetch_files: Option<Vec<String>>,
}Expand description
Mount a filesystem.
Fields
source: StringPath to source of the filesystem.
fs_type: StringType of filesystem.
config: StringConfiguration for the filesystem.
prefetch_files: Option<Vec<String>>List of files to prefetch.
Trait Implementations
sourceimpl Clone for ApiMountCmd
impl Clone for ApiMountCmd
sourcefn clone(&self) -> ApiMountCmd
fn clone(&self) -> ApiMountCmd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ApiMountCmd
impl Debug for ApiMountCmd
sourceimpl<'de> Deserialize<'de> for ApiMountCmd
impl<'de> Deserialize<'de> for ApiMountCmd
sourcefn 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 RefUnwindSafe for ApiMountCmd
impl Send for ApiMountCmd
impl Sync for ApiMountCmd
impl Unpin for ApiMountCmd
impl UnwindSafe for ApiMountCmd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more