pub struct ApprovalFinalDecision {
pub outcome: ApprovalFinalOutcome,
pub source: ApprovalDecisionSource,
pub reason_code: ApprovalReasonCode,
pub feedback: Option<ApprovalFeedback>,
pub tree_grant_id: Option<TreeApprovalGrantId>,
}Fields§
§outcome: ApprovalFinalOutcome§source: ApprovalDecisionSource§reason_code: ApprovalReasonCode§feedback: Option<ApprovalFeedback>§tree_grant_id: Option<TreeApprovalGrantId>Implementations§
Source§impl ApprovalFinalDecision
impl ApprovalFinalDecision
pub fn validate(&self) -> Result<(), ApprovalSchemaError>
Trait Implementations§
Source§impl Clone for ApprovalFinalDecision
impl Clone for ApprovalFinalDecision
Source§fn clone(&self) -> ApprovalFinalDecision
fn clone(&self) -> ApprovalFinalDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApprovalFinalDecision
impl Debug for ApprovalFinalDecision
Source§impl<'de> Deserialize<'de> for ApprovalFinalDecision
impl<'de> Deserialize<'de> for ApprovalFinalDecision
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 Eq for ApprovalFinalDecision
Source§impl JsonSchema for ApprovalFinalDecision
impl JsonSchema for ApprovalFinalDecision
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ApprovalFinalDecision
impl PartialEq for ApprovalFinalDecision
Source§fn eq(&self, other: &ApprovalFinalDecision) -> bool
fn eq(&self, other: &ApprovalFinalDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApprovalFinalDecision
impl Serialize for ApprovalFinalDecision
impl StructuralPartialEq for ApprovalFinalDecision
Auto Trait Implementations§
impl Freeze for ApprovalFinalDecision
impl RefUnwindSafe for ApprovalFinalDecision
impl Send for ApprovalFinalDecision
impl Sync for ApprovalFinalDecision
impl Unpin for ApprovalFinalDecision
impl UnsafeUnpin for ApprovalFinalDecision
impl UnwindSafe for ApprovalFinalDecision
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