Struct wick_config::v1::VolumeRestriction
source · pub struct VolumeRestriction {
pub components: Vec<String>,
pub allow: LiquidTemplate,
}Expand description
Restrictions to apply against Volume resources
Fields§
§components: Vec<String>The components this restriction applies to
allow: LiquidTemplateThe volumes to allow
Trait Implementations§
source§impl Clone for VolumeRestriction
impl Clone for VolumeRestriction
source§fn clone(&self) -> VolumeRestriction
fn clone(&self) -> VolumeRestriction
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 VolumeRestriction
impl Debug for VolumeRestriction
source§impl<'de> Deserialize<'de> for VolumeRestriction
impl<'de> Deserialize<'de> for VolumeRestriction
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<VolumeRestriction> for VolumeRestriction
impl PartialEq<VolumeRestriction> for VolumeRestriction
source§fn eq(&self, other: &VolumeRestriction) -> bool
fn eq(&self, other: &VolumeRestriction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for VolumeRestriction
impl Serialize for VolumeRestriction
source§impl TryFrom<VolumeRestriction> for VolumeRestriction
impl TryFrom<VolumeRestriction> for VolumeRestriction
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: VolumeRestriction) -> Result<Self, ManifestError>
fn try_from(value: VolumeRestriction) -> Result<Self, ManifestError>
Performs the conversion.
source§impl TryFrom<VolumeRestriction> for VolumeRestriction
impl TryFrom<VolumeRestriction> for VolumeRestriction
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: VolumeRestriction) -> Result<Self, ManifestError>
fn try_from(value: VolumeRestriction) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for VolumeRestriction
Auto Trait Implementations§
impl RefUnwindSafe for VolumeRestriction
impl Send for VolumeRestriction
impl Sync for VolumeRestriction
impl Unpin for VolumeRestriction
impl UnwindSafe for VolumeRestriction
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