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