pub struct PolicyAndValidationResponse {
pub policy: PolicyResponse,
pub validation: PolicyValidation,
}
Expand description
PolicyAndValidationResponse : Policy validation
Fields§
§policy: PolicyResponse
§validation: PolicyValidation
Implementations§
Source§impl PolicyAndValidationResponse
impl PolicyAndValidationResponse
Sourcepub fn new(
policy: PolicyResponse,
validation: PolicyValidation,
) -> PolicyAndValidationResponse
pub fn new( policy: PolicyResponse, validation: PolicyValidation, ) -> PolicyAndValidationResponse
Policy validation
Trait Implementations§
Source§impl Clone for PolicyAndValidationResponse
impl Clone for PolicyAndValidationResponse
Source§fn clone(&self) -> PolicyAndValidationResponse
fn clone(&self) -> PolicyAndValidationResponse
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 PolicyAndValidationResponse
impl Debug for PolicyAndValidationResponse
Source§impl Default for PolicyAndValidationResponse
impl Default for PolicyAndValidationResponse
Source§fn default() -> PolicyAndValidationResponse
fn default() -> PolicyAndValidationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyAndValidationResponse
impl<'de> Deserialize<'de> for PolicyAndValidationResponse
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
impl StructuralPartialEq for PolicyAndValidationResponse
Auto Trait Implementations§
impl Freeze for PolicyAndValidationResponse
impl RefUnwindSafe for PolicyAndValidationResponse
impl Send for PolicyAndValidationResponse
impl Sync for PolicyAndValidationResponse
impl Unpin for PolicyAndValidationResponse
impl UnwindSafe for PolicyAndValidationResponse
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