ExtractResource

Trait 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 for Option<T>
where T: ExtractResource,

Source§

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

Source§

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

Source§

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

Implementors§