pub struct PolicyBundleV1 {
pub schema: String,
pub filter_packs: Vec<FilterPackRefV1>,
}Expand description
Response of GET /v1/policy/bundle.
Fields§
§schema: String§filter_packs: Vec<FilterPackRefV1>Implementations§
Source§impl PolicyBundleV1
impl PolicyBundleV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for PolicyBundleV1
impl Clone for PolicyBundleV1
Source§impl Debug for PolicyBundleV1
impl Debug for PolicyBundleV1
Source§impl<'de> Deserialize<'de> for PolicyBundleV1
impl<'de> Deserialize<'de> for PolicyBundleV1
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 for PolicyBundleV1
impl PartialEq for PolicyBundleV1
Source§impl Serialize for PolicyBundleV1
impl Serialize for PolicyBundleV1
impl StructuralPartialEq for PolicyBundleV1
Auto Trait Implementations§
impl Forget for PolicyBundleV1
impl Freeze for PolicyBundleV1
impl Move for PolicyBundleV1
impl RefUnwindSafe for PolicyBundleV1
impl Send for PolicyBundleV1
impl Sync for PolicyBundleV1
impl Unpin for PolicyBundleV1
impl UnsafeUnpin for PolicyBundleV1
impl UnwindSafe for PolicyBundleV1
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