pub struct InstallOutcome {
pub active_relay_id: String,
pub credential_version: u64,
pub encryption_backend: &'static str,
pub generated_encryption_key: bool,
pub generated_device_private_key: bool,
}Expand description
Outcome of install_credentials — useful for callers that want to
surface “this is the first sign-in on this machine” or report which
credstore backend was used.
Fields§
§active_relay_id: StringActive relay_id after the install (matches MultiConfig.active_relay_id).
credential_version: u64New credential_version value persisted to disk.
encryption_backend: &'static strBackend used for the AES key write: "keyring" or "plaintext".
generated_encryption_key: boolTrue when this call generated the AES key (vs. reused an existing one).
generated_device_private_key: boolTrue when this call generated the X25519 device key.
Trait Implementations§
Source§impl Clone for InstallOutcome
impl Clone for InstallOutcome
Source§fn clone(&self) -> InstallOutcome
fn clone(&self) -> InstallOutcome
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 InstallOutcome
impl RefUnwindSafe for InstallOutcome
impl Send for InstallOutcome
impl Sync for InstallOutcome
impl Unpin for InstallOutcome
impl UnsafeUnpin for InstallOutcome
impl UnwindSafe for InstallOutcome
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