pub struct TransferEvidence<'a> {
pub reason: &'a str,
pub incoming_operator_did: &'a str,
pub outgoing_authorised: bool,
pub accepted: bool,
}Expand description
What a caller found out about the transfer it correlated to one edge.
Fields§
§reason: &'a strThe transfer’s reason, in wire form ("repurposing", …).
Compared as a string against the edge’s operation because the two vocabularies are defined in a crate this one must not depend on. They are pinned byte-identical on the core side.
incoming_operator_did: &'a strThe DID of the operator taking responsibility on.
Whether the outgoing operator’s authorisation is present.
This is the predecessor’s own signature, and the load-bearing half — see
super::consent for why the other half is not evidence of consent.
accepted: boolWhether the handover was accepted and completed, rather than left pending, rejected or cancelled.
Trait Implementations§
Source§impl<'a> Clone for TransferEvidence<'a>
impl<'a> Clone for TransferEvidence<'a>
impl<'a> Copy for TransferEvidence<'a>
Source§impl<'a> Debug for TransferEvidence<'a>
impl<'a> Debug for TransferEvidence<'a>
impl<'a> Eq for TransferEvidence<'a>
Source§impl<'a> PartialEq for TransferEvidence<'a>
impl<'a> PartialEq for TransferEvidence<'a>
impl<'a> StructuralPartialEq for TransferEvidence<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransferEvidence<'a>
impl<'a> RefUnwindSafe for TransferEvidence<'a>
impl<'a> Send for TransferEvidence<'a>
impl<'a> Sync for TransferEvidence<'a>
impl<'a> Unpin for TransferEvidence<'a>
impl<'a> UnsafeUnpin for TransferEvidence<'a>
impl<'a> UnwindSafe for TransferEvidence<'a>
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