Struct webc::metadata::annotations::FileSystemMapping   
source · pub struct FileSystemMapping {
    pub from: Option<String>,
    pub volume_name: String,
    pub original_path: String,
    pub mount_path: String,
}Expand description
An entry used when constructing a filesystem based on a package and its dependency tree.
Fields§
§from: Option<String>The alias of the dependency this filesystem mapping should come from.
If not provided, the current package is used.
volume_name: StringThe name of the volume.
original_path: StringThe path of the mapped item within its original volume.
mount_path: StringWhere the volume should be mounted in the resulting filesystem.
Trait Implementations§
source§impl Clone for FileSystemMapping
 
impl Clone for FileSystemMapping
source§fn clone(&self) -> FileSystemMapping
 
fn clone(&self) -> FileSystemMapping
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 FileSystemMapping
 
impl Debug for FileSystemMapping
source§impl Default for FileSystemMapping
 
impl Default for FileSystemMapping
source§fn default() -> FileSystemMapping
 
fn default() -> FileSystemMapping
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FileSystemMapping
 
impl<'de> Deserialize<'de> for FileSystemMapping
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<FileSystemMapping> for FileSystemMapping
 
impl PartialEq<FileSystemMapping> for FileSystemMapping
source§fn eq(&self, other: &FileSystemMapping) -> bool
 
fn eq(&self, other: &FileSystemMapping) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for FileSystemMapping
 
impl Serialize for FileSystemMapping
impl Eq for FileSystemMapping
impl StructuralEq for FileSystemMapping
impl StructuralPartialEq for FileSystemMapping
Auto Trait Implementations§
impl RefUnwindSafe for FileSystemMapping
impl Send for FileSystemMapping
impl Sync for FileSystemMapping
impl Unpin for FileSystemMapping
impl UnwindSafe for FileSystemMapping
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.