pub enum ObjectKind {
Id,
DigestMultibase,
Value,
}Expand description
Which of the three object members a statement carries.
Variants§
Id
object.id — a DID or other IRI, when the object is a party or a named thing.
DigestMultibase
object.digestMultibase — when the object is another credential.
Value
object.value — a literal or structured payload whose schema the profile states.
Trait Implementations§
Source§impl Clone for ObjectKind
impl Clone for ObjectKind
impl Copy for ObjectKind
Source§impl Debug for ObjectKind
impl Debug for ObjectKind
Source§impl<'de> Deserialize<'de> for ObjectKind
impl<'de> Deserialize<'de> for ObjectKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ObjectKind
impl Display for ObjectKind
impl Eq for ObjectKind
Source§impl Hash for ObjectKind
impl Hash for ObjectKind
Source§impl PartialEq for ObjectKind
impl PartialEq for ObjectKind
Source§impl Serialize for ObjectKind
impl Serialize for ObjectKind
impl StructuralPartialEq for ObjectKind
Auto Trait Implementations§
impl Freeze for ObjectKind
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnsafeUnpin for ObjectKind
impl UnwindSafe for ObjectKind
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