pub struct RotationResult {
pub controller_did: IdentityDID,
pub new_key_fingerprint: String,
pub previous_key_fingerprint: String,
}Expand description
Outcome of a successful identity rotation.
Usage:
ⓘ
let result: RotationResult = rotate_identity(config, provider)?;
println!("Rotated DID: {}", result.controller_did);
println!("New key: {}...", result.new_key_fingerprint);
println!("Old key: {}...", result.previous_key_fingerprint);Fields§
§controller_did: IdentityDIDThe controller DID of the rotated identity.
new_key_fingerprint: StringHex-encoded fingerprint of the new signing key.
previous_key_fingerprint: StringHex-encoded fingerprint of the previous signing key.
Trait Implementations§
Source§impl Clone for RotationResult
impl Clone for RotationResult
Source§fn clone(&self) -> RotationResult
fn clone(&self) -> RotationResult
Returns a duplicate of the value. Read more
1.0.0 · 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 RotationResult
impl RefUnwindSafe for RotationResult
impl Send for RotationResult
impl Sync for RotationResult
impl Unpin for RotationResult
impl UnsafeUnpin for RotationResult
impl UnwindSafe for RotationResult
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