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]

[src]

Formats the value using the given formatter. Read more

impl Clone for IdLink
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for IdLink
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for IdLink
[src]

Auto Trait Implementations

impl Send for IdLink

impl Sync for IdLink