Struct world_id::IdLink
[−]
[src]
pub struct IdLink { /* fields omitted */ }
A link to a previous Id
, validated with a signature.
The signature is the current Id
, minus the IdLink
,
serialized to CBOR and signed by the previous Id
's
private key.
The prev_id
is an IPFS CID referring to the previous
Id
.
It might be nicer to make this an arbitrary "this key signs that key" type structure, since that's a fairly useful general-purpose association.
Trait Implementations
impl Debug for IdLink
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for IdLink
[src]
fn clone(&self) -> IdLink
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for IdLink
[src]
fn eq(&self, __arg_0: &IdLink) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IdLink) -> bool
[src]
This method tests for !=
.