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§
source§impl Clone for ApiMountCmd
impl Clone for ApiMountCmd
source§fn clone(&self) -> ApiMountCmd
fn clone(&self) -> ApiMountCmd
Returns a copy 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 ApiMountCmd
impl Debug for ApiMountCmd
source§impl<'de> Deserialize<'de> for ApiMountCmd
impl<'de> Deserialize<'de> for ApiMountCmd
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