pub struct ConfirmationDecision {
pub approved: bool,
pub note: Option<String>,
}Expand description
User/consumer decision for a confirmation request
Fields§
§approved: boolWhether the action is approved
note: Option<String>Optional note/reason
Trait Implementations§
Source§impl Clone for ConfirmationDecision
impl Clone for ConfirmationDecision
Source§fn clone(&self) -> ConfirmationDecision
fn clone(&self) -> ConfirmationDecision
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 ConfirmationDecision
impl Debug for ConfirmationDecision
Source§impl<'de> Deserialize<'de> for ConfirmationDecision
impl<'de> Deserialize<'de> for ConfirmationDecision
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
Auto Trait Implementations§
impl Freeze for ConfirmationDecision
impl RefUnwindSafe for ConfirmationDecision
impl Send for ConfirmationDecision
impl Sync for ConfirmationDecision
impl Unpin for ConfirmationDecision
impl UnwindSafe for ConfirmationDecision
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