Trait ssi_dids_core::document::resource::ExtractResource

source ·
pub trait ExtractResource {
    // Required method
    fn extract_resource(self, base_did: &DID, id: &DIDURL) -> Option<Resource>;
}

Required Methods§

source

fn extract_resource(self, base_did: &DID, id: &DIDURL) -> Option<Resource>

Implementations on Foreign Types§

source§

impl<T: ExtractResource> ExtractResource for Option<T>

source§

fn extract_resource(self, base_did: &DID, id: &DIDURL) -> Option<Resource>

source§

impl<T: ExtractResource> ExtractResource for Vec<T>

source§

fn extract_resource(self, base_did: &DID, id: &DIDURL) -> Option<Resource>

Implementors§