Struct wick_config::config::ExposedVolume
source · pub struct ExposedVolume { /* private fields */ }Expand description
Volumes to expose to a component and the internal paths they map to.
Implementations§
source§impl ExposedVolume
impl ExposedVolume
pub fn resource(&self) -> &str
pub fn set_resource<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn resource_mut(&mut self) -> &mut String
pub fn path(&self) -> &str
pub fn set_path<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn path_mut(&mut self) -> &mut String
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 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.
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