pub struct PeerEndorseParams {
pub subject: String,
pub subject_user_id: Option<String>,
}Expand description
Params of Request::PeerEndorse (#65): vouch for a peer so a third party can install them.
Fields§
§subject: StringThe subject’s endpoint id, eid:<hex> — usually a peer you are paired with, though the
daemon does not require that: an endorsement is YOUR statement, and the recipient decides
what it is worth.
subject_user_id: Option<String>The subject’s user key, b64u:, when you are also vouching for that. The recipient will
additionally require the SUBJECT’s own device binding before trusting it — see
PeerIntroduceParams::subject_binding.
Trait Implementations§
Source§impl Clone for PeerEndorseParams
impl Clone for PeerEndorseParams
Source§fn clone(&self) -> PeerEndorseParams
fn clone(&self) -> PeerEndorseParams
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 PeerEndorseParams
impl Debug for PeerEndorseParams
Source§impl<'de> Deserialize<'de> for PeerEndorseParams
impl<'de> Deserialize<'de> for PeerEndorseParams
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 PeerEndorseParams
Source§impl PartialEq for PeerEndorseParams
impl PartialEq for PeerEndorseParams
Source§impl Serialize for PeerEndorseParams
impl Serialize for PeerEndorseParams
impl StructuralPartialEq for PeerEndorseParams
Auto Trait Implementations§
impl Freeze for PeerEndorseParams
impl RefUnwindSafe for PeerEndorseParams
impl Send for PeerEndorseParams
impl Sync for PeerEndorseParams
impl Unpin for PeerEndorseParams
impl UnsafeUnpin for PeerEndorseParams
impl UnwindSafe for PeerEndorseParams
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