Struct wick_config::v1::LockdownConfiguration
source · pub struct LockdownConfiguration {
pub metadata: Option<Metadata>,
pub resources: Vec<ResourceRestriction>,
}Expand description
A lockdown configuration used to secure Wick components and applications
Fields§
§metadata: Option<Metadata>Associated metadata for this configuration.
resources: Vec<ResourceRestriction>Restrictions to apply to resources before an application or component can be run.
Trait Implementations§
source§impl Clone for LockdownConfiguration
impl Clone for LockdownConfiguration
source§fn clone(&self) -> LockdownConfiguration
fn clone(&self) -> LockdownConfiguration
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 LockdownConfiguration
impl Debug for LockdownConfiguration
source§impl<'de> Deserialize<'de> for LockdownConfiguration
impl<'de> Deserialize<'de> for LockdownConfiguration
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<LockdownConfiguration> for LockdownConfiguration
impl PartialEq<LockdownConfiguration> for LockdownConfiguration
source§fn eq(&self, other: &LockdownConfiguration) -> bool
fn eq(&self, other: &LockdownConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LockdownConfiguration
impl Serialize for LockdownConfiguration
source§impl TryFrom<LockdownConfiguration> for LockdownConfiguration
impl TryFrom<LockdownConfiguration> for LockdownConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<LockdownConfiguration> for LockdownConfiguration
impl TryFrom<LockdownConfiguration> for LockdownConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for LockdownConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for LockdownConfiguration
impl Send for LockdownConfiguration
impl Sync for LockdownConfiguration
impl Unpin for LockdownConfiguration
impl UnwindSafe for LockdownConfiguration
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