pub struct PeerEndorseResult {
pub endorsed_by: String,
pub evidence: String,
}Expand description
Result of Request::PeerEndorse (#65) — hand both fields to the recipient.
Fields§
§endorsed_by: StringYOUR user id, b64u: — what the recipient passes as endorsed_by. They must already be
paired with you for it to resolve.
evidence: StringThe signature, b64u: — what the recipient passes as evidence.
Trait Implementations§
Source§impl Clone for PeerEndorseResult
impl Clone for PeerEndorseResult
Source§fn clone(&self) -> PeerEndorseResult
fn clone(&self) -> PeerEndorseResult
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 PeerEndorseResult
impl Debug for PeerEndorseResult
Source§impl<'de> Deserialize<'de> for PeerEndorseResult
impl<'de> Deserialize<'de> for PeerEndorseResult
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 PeerEndorseResult
Source§impl PartialEq for PeerEndorseResult
impl PartialEq for PeerEndorseResult
Source§impl Serialize for PeerEndorseResult
impl Serialize for PeerEndorseResult
impl StructuralPartialEq for PeerEndorseResult
Auto Trait Implementations§
impl Freeze for PeerEndorseResult
impl RefUnwindSafe for PeerEndorseResult
impl Send for PeerEndorseResult
impl Sync for PeerEndorseResult
impl Unpin for PeerEndorseResult
impl UnsafeUnpin for PeerEndorseResult
impl UnwindSafe for PeerEndorseResult
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