pub struct ApprovalResponse {
pub request_id: String,
pub response: ApprovalResponseKind,
pub feedback: Option<String>,
}Expand description
Response to an ApprovalRequest.
Fields§
§request_id: StringId of the approval request.
response: ApprovalResponseKindApproval decision.
feedback: Option<String>Optional feedback text.
Trait Implementations§
Source§impl Clone for ApprovalResponse
impl Clone for ApprovalResponse
Source§fn clone(&self) -> ApprovalResponse
fn clone(&self) -> ApprovalResponse
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 ApprovalResponse
impl Debug for ApprovalResponse
Source§impl<'de> Deserialize<'de> for ApprovalResponse
impl<'de> Deserialize<'de> for ApprovalResponse
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 ApprovalResponse
impl PartialEq for ApprovalResponse
Source§fn eq(&self, other: &ApprovalResponse) -> bool
fn eq(&self, other: &ApprovalResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApprovalResponse
impl Serialize for ApprovalResponse
impl StructuralPartialEq for ApprovalResponse
Auto Trait Implementations§
impl Freeze for ApprovalResponse
impl RefUnwindSafe for ApprovalResponse
impl Send for ApprovalResponse
impl Sync for ApprovalResponse
impl Unpin for ApprovalResponse
impl UnsafeUnpin for ApprovalResponse
impl UnwindSafe for ApprovalResponse
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