pub struct HeldObject {
pub tbs: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
A signed object whose verifier already holds the signer’s key.
Fields§
§tbs: Vec<u8>§signature: Vec<u8>Implementations§
Source§impl HeldObject
impl HeldObject
Sourcepub fn from_value(value: &Value) -> Result<HeldObject, ObjectError>
pub fn from_value(value: &Value) -> Result<HeldObject, ObjectError>
The object in value, a map of exactly tbs and signature, each a
byte string.
Trait Implementations§
Source§impl Clone for HeldObject
impl Clone for HeldObject
Source§impl Debug for HeldObject
impl Debug for HeldObject
impl Eq for HeldObject
Source§impl PartialEq for HeldObject
impl PartialEq for HeldObject
impl StructuralPartialEq for HeldObject
Auto Trait Implementations§
impl Freeze for HeldObject
impl RefUnwindSafe for HeldObject
impl Send for HeldObject
impl Sync for HeldObject
impl Unpin for HeldObject
impl UnsafeUnpin for HeldObject
impl UnwindSafe for HeldObject
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