pub struct PolicyAndValidationResponseV2 {
pub policy: PolicyResponseV2,
pub validation: PolicyValidationV2,
}Expand description
PolicyAndValidationResponseV2 : Policy validation
Fields§
§policy: PolicyResponseV2§validation: PolicyValidationV2Implementations§
Source§impl PolicyAndValidationResponseV2
impl PolicyAndValidationResponseV2
Sourcepub fn new(
policy: PolicyResponseV2,
validation: PolicyValidationV2,
) -> PolicyAndValidationResponseV2
pub fn new( policy: PolicyResponseV2, validation: PolicyValidationV2, ) -> PolicyAndValidationResponseV2
Policy validation
Trait Implementations§
Source§impl Clone for PolicyAndValidationResponseV2
impl Clone for PolicyAndValidationResponseV2
Source§fn clone(&self) -> PolicyAndValidationResponseV2
fn clone(&self) -> PolicyAndValidationResponseV2
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 Default for PolicyAndValidationResponseV2
impl Default for PolicyAndValidationResponseV2
Source§fn default() -> PolicyAndValidationResponseV2
fn default() -> PolicyAndValidationResponseV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyAndValidationResponseV2
impl<'de> Deserialize<'de> for PolicyAndValidationResponseV2
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 PolicyAndValidationResponseV2
impl PartialEq for PolicyAndValidationResponseV2
Source§fn eq(&self, other: &PolicyAndValidationResponseV2) -> bool
fn eq(&self, other: &PolicyAndValidationResponseV2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PolicyAndValidationResponseV2
Auto Trait Implementations§
impl Freeze for PolicyAndValidationResponseV2
impl RefUnwindSafe for PolicyAndValidationResponseV2
impl Send for PolicyAndValidationResponseV2
impl Sync for PolicyAndValidationResponseV2
impl Unpin for PolicyAndValidationResponseV2
impl UnwindSafe for PolicyAndValidationResponseV2
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