Trait ssi::ldp::LinkedDataDocument
source · [−]pub trait LinkedDataDocument {
fn get_contexts(&self) -> Result<Option<String>, Error>;
fn to_value(&self) -> Result<Value, Error>;
fn to_dataset_for_signing<'life0, 'life1, 'async_trait>(
&'life0 self,
parent: Option<&'life1 (dyn LinkedDataDocument + Sync)>
) -> Pin<Box<dyn Future<Output = Result<DataSet, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn get_default_proof_purpose(&self) -> Option<ProofPurpose> { ... }
fn get_issuer(&self) -> Option<&str> { ... }
}