pub struct PolicyPackDocument {
pub api_version: String,
pub kind: String,
pub spec: PolicyPackSpec,
}Expand description
Top-level policy pack document (apiVersion: cellos.io/v1, kind: PolicyPack).
Fields§
§api_version: String§kind: String§spec: PolicyPackSpecTrait Implementations§
Source§impl Clone for PolicyPackDocument
impl Clone for PolicyPackDocument
Source§fn clone(&self) -> PolicyPackDocument
fn clone(&self) -> PolicyPackDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolicyPackDocument
impl Debug for PolicyPackDocument
Source§impl<'de> Deserialize<'de> for PolicyPackDocument
impl<'de> Deserialize<'de> for PolicyPackDocument
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
Auto Trait Implementations§
impl Freeze for PolicyPackDocument
impl RefUnwindSafe for PolicyPackDocument
impl Send for PolicyPackDocument
impl Sync for PolicyPackDocument
impl Unpin for PolicyPackDocument
impl UnsafeUnpin for PolicyPackDocument
impl UnwindSafe for PolicyPackDocument
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