Enum ssi_dids_core::resolution::PrimaryContent
source · pub enum PrimaryContent {
Null,
Url(IriBuf),
Document(Represented),
}
Variants§
Trait Implementations§
source§impl From<IriBuf> for PrimaryContent
impl From<IriBuf> for PrimaryContent
source§impl From<PrimaryContent> for Content
impl From<PrimaryContent> for Content
source§fn from(value: PrimaryContent) -> Self
fn from(value: PrimaryContent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrimaryContent
impl RefUnwindSafe for PrimaryContent
impl Send for PrimaryContent
impl Sync for PrimaryContent
impl Unpin for PrimaryContent
impl UnwindSafe for PrimaryContent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.