pub struct VerifiedSubject {
pub did: String,
pub verification_method: String,
}Expand description
Output of a successful SelfSignedVerifier::verify call.
did is the canonical subject IRI — did:key:z…,
did:nostr:<hex>, urn:nip98:<pubkey>, or any other resolvable
controller identifier. verification_method is the specific key /
relationship that actually produced the signature; under the CID
model this is what the policy layer pins.
Fields§
§did: StringCanonical subject DID.
verification_method: StringVerification method identifier (often did#keys-0 or a JWK kid).
Trait Implementations§
Source§impl Clone for VerifiedSubject
impl Clone for VerifiedSubject
Source§fn clone(&self) -> VerifiedSubject
fn clone(&self) -> VerifiedSubject
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 moreAuto Trait Implementations§
impl Freeze for VerifiedSubject
impl RefUnwindSafe for VerifiedSubject
impl Send for VerifiedSubject
impl Sync for VerifiedSubject
impl Unpin for VerifiedSubject
impl UnsafeUnpin for VerifiedSubject
impl UnwindSafe for VerifiedSubject
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