pub enum AnyDidService {
Iri(Iri),
DidService(Box<DidService>),
Export(Box<Export>),
Other(Value),
}Expand description
A value of DidService, or of a type extending one of them.
Variants§
Iri(Iri)
A reference, by IRI.
DidService(Box<DidService>)
Export(Box<Export>)
Other(Value)
Anything no schema describes, as it was.
Implementations§
Trait Implementations§
Source§impl Clone for AnyDidService
impl Clone for AnyDidService
Source§fn clone(&self) -> AnyDidService
fn clone(&self) -> AnyDidService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnyDidService
impl Debug for AnyDidService
Source§impl<'de> Deserialize<'de> for AnyDidService
impl<'de> Deserialize<'de> for AnyDidService
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromJson for AnyDidService
impl FromJson for AnyDidService
Source§impl PartialEq for AnyDidService
impl PartialEq for AnyDidService
Source§impl Serialize for AnyDidService
impl Serialize for AnyDidService
impl StructuralPartialEq for AnyDidService
Auto Trait Implementations§
impl Freeze for AnyDidService
impl RefUnwindSafe for AnyDidService
impl Send for AnyDidService
impl Sync for AnyDidService
impl Unpin for AnyDidService
impl UnsafeUnpin for AnyDidService
impl UnwindSafe for AnyDidService
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