Trait Subject

Source
pub trait Subject {
    // Required method
    fn did(&self) -> &str;

    // Provided method
    fn did_suffix(&self) -> &str { ... }
}
Expand description

A DID Subject.

Required Methods§

Source

fn did(&self) -> &str

Returns the DID of the subject.

Provided Methods§

Source

fn did_suffix(&self) -> &str

Returns the DID suffix of the subject.

Implementors§