Struct wick_config::v1::ExposedVolume
source · pub struct ExposedVolume {
pub resource: String,
pub path: String,
}Expand description
Volumes to expose to a component and the internal paths they map to.
Fields§
§resource: StringThe resource ID of the volume.
path: StringThe path to map it to in the component.
Trait Implementations§
source§impl Clone for ExposedVolume
impl Clone for ExposedVolume
source§fn clone(&self) -> ExposedVolume
fn clone(&self) -> ExposedVolume
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 ExposedVolume
impl Debug for ExposedVolume
source§impl<'de> Deserialize<'de> for ExposedVolume
impl<'de> Deserialize<'de> for ExposedVolume
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<ExposedVolume> for ExposedVolume
impl PartialEq<ExposedVolume> for ExposedVolume
source§fn eq(&self, other: &ExposedVolume) -> bool
fn eq(&self, other: &ExposedVolume) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ExposedVolume
impl Serialize for ExposedVolume
source§impl TryFrom<ExposedVolume> for ExposedVolume
impl TryFrom<ExposedVolume> for ExposedVolume
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ExposedVolume> for ExposedVolume
impl TryFrom<ExposedVolume> for ExposedVolume
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ExposedVolume
Auto Trait Implementations§
impl RefUnwindSafe for ExposedVolume
impl Send for ExposedVolume
impl Sync for ExposedVolume
impl Unpin for ExposedVolume
impl UnwindSafe for ExposedVolume
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