pub struct PolicyResponseV2 {
pub rules: Vec<PolicyRuleV2>,
pub metadata: PolicyMetadataV2,
}Expand description
PolicyResponseV2 : Response object for policy operations
Fields§
§rules: Vec<PolicyRuleV2>A set of policy rules
metadata: PolicyMetadataV2Implementations§
Source§impl PolicyResponseV2
impl PolicyResponseV2
Sourcepub fn new(
rules: Vec<PolicyRuleV2>,
metadata: PolicyMetadataV2,
) -> PolicyResponseV2
pub fn new( rules: Vec<PolicyRuleV2>, metadata: PolicyMetadataV2, ) -> PolicyResponseV2
Response object for policy operations
Trait Implementations§
Source§impl Clone for PolicyResponseV2
impl Clone for PolicyResponseV2
Source§fn clone(&self) -> PolicyResponseV2
fn clone(&self) -> PolicyResponseV2
Returns a duplicate 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 PolicyResponseV2
impl Debug for PolicyResponseV2
Source§impl Default for PolicyResponseV2
impl Default for PolicyResponseV2
Source§fn default() -> PolicyResponseV2
fn default() -> PolicyResponseV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyResponseV2
impl<'de> Deserialize<'de> for PolicyResponseV2
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 PolicyResponseV2
impl PartialEq for PolicyResponseV2
Source§impl Serialize for PolicyResponseV2
impl Serialize for PolicyResponseV2
impl StructuralPartialEq for PolicyResponseV2
Auto Trait Implementations§
impl Freeze for PolicyResponseV2
impl RefUnwindSafe for PolicyResponseV2
impl Send for PolicyResponseV2
impl Sync for PolicyResponseV2
impl Unpin for PolicyResponseV2
impl UnwindSafe for PolicyResponseV2
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