pub struct SetupResult {
pub identity_did: IdentityDID,
pub device_did: DeviceDID,
pub key_alias: KeyAlias,
pub platform_claim: Option<PlatformClaimResult>,
pub git_signing_configured: bool,
pub registered: Option<RegistrationOutcome>,
}Expand description
Outcome of a successful developer identity setup.
Usage:
ⓘ
let result: SetupResult = sdk.setup_developer(config).await?;
println!("Created identity: {}", result.identity_did);Fields§
§identity_did: IdentityDIDThe controller DID of the created identity.
device_did: DeviceDIDThe device DID bound to this identity.
key_alias: KeyAliasThe keychain alias used for the signing key.
platform_claim: Option<PlatformClaimResult>Result of platform verification, if performed.
git_signing_configured: boolWhether git commit signing was configured.
registered: Option<RegistrationOutcome>Result of registry registration, if performed.
Trait Implementations§
Source§impl Clone for SetupResult
impl Clone for SetupResult
Source§fn clone(&self) -> SetupResult
fn clone(&self) -> SetupResult
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 SetupResult
impl RefUnwindSafe for SetupResult
impl Send for SetupResult
impl Sync for SetupResult
impl Unpin for SetupResult
impl UnsafeUnpin for SetupResult
impl UnwindSafe for SetupResult
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