pub struct RestoredSecrets<'a> {
pub seed: &'a [u8],
pub jwt_key: Option<[u8; 32]>,
pub vta_did: Option<&'a str>,
}Expand description
The restored secrets an import asks the target to adopt.
Fields§
§seed: &'a [u8]§jwt_key: Option<[u8; 32]>The backup’s JWT signing key, or None if it carried none (the target
then keeps its own).
vta_did: Option<&'a str>The DID the VTA will run as after the restore.
Auto Trait Implementations§
impl<'a> Freeze for RestoredSecrets<'a>
impl<'a> RefUnwindSafe for RestoredSecrets<'a>
impl<'a> Send for RestoredSecrets<'a>
impl<'a> Sync for RestoredSecrets<'a>
impl<'a> Unpin for RestoredSecrets<'a>
impl<'a> UnsafeUnpin for RestoredSecrets<'a>
impl<'a> UnwindSafe for RestoredSecrets<'a>
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