Trait ssi_dids_core::document::resource::FindResource

source ·
pub trait FindResource {
    // Required method
    fn find_resource(
        &self,
        base_did: &DID,
        id: &DIDURL,
    ) -> Option<ResourceRef<'_>>;
}
Expand description

Find a resource definition.

Required Methods§

source

fn find_resource(&self, base_did: &DID, id: &DIDURL) -> Option<ResourceRef<'_>>

Implementations on Foreign Types§

source§

impl<T: FindResource> FindResource for Option<T>

source§

fn find_resource(&self, base_did: &DID, id: &DIDURL) -> Option<ResourceRef<'_>>

source§

impl<T: FindResource> FindResource for Vec<T>

source§

fn find_resource(&self, base_did: &DID, id: &DIDURL) -> Option<ResourceRef<'_>>

Implementors§