Struct AttributedApprovalResponse
pub struct AttributedApprovalResponse {
pub response: ChannelApprovalResponse,
pub decided_by: Option<String>,
}Expand description
An approval response together with the back-channel that produced it.
When a channel fans one approval request out to several back-channels,
decided_by names the back-channel that actually answered, so the audit
trail attributes the decision to the deciding surface. The attribution
travels with the returned decision, so concurrent approvals on the same
channel instance cannot cross-wire it. Single channels leave it None.
Fields§
§response: ChannelApprovalResponse§decided_by: Option<String>Trait Implementations§
Source§impl Clone for AttributedApprovalResponse
impl Clone for AttributedApprovalResponse
Source§fn clone(&self) -> AttributedApprovalResponse
fn clone(&self) -> AttributedApprovalResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributedApprovalResponse
impl Debug for AttributedApprovalResponse
Source§impl PartialEq for AttributedApprovalResponse
impl PartialEq for AttributedApprovalResponse
Source§fn eq(&self, other: &AttributedApprovalResponse) -> bool
fn eq(&self, other: &AttributedApprovalResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AttributedApprovalResponse
impl StructuralPartialEq for AttributedApprovalResponse
Auto Trait Implementations§
impl Freeze for AttributedApprovalResponse
impl RefUnwindSafe for AttributedApprovalResponse
impl Send for AttributedApprovalResponse
impl Sync for AttributedApprovalResponse
impl Unpin for AttributedApprovalResponse
impl UnsafeUnpin for AttributedApprovalResponse
impl UnwindSafe for AttributedApprovalResponse
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