pub struct Identity {
pub address: Address,
pub identity_type: IdentityType,
pub public_key: PublicKey,
pub secret_key: Option<SecretKey>,
}
Fields§
§address: Address
ZeroTier address belonging to PublicKey
.
identity_type: IdentityType
ZeroTier identity type; always 0.
public_key: PublicKey
ZeroTier public key (X25519 + Ed25519) belonging to SecretKey
,
if present.
secret_key: Option<SecretKey>
ZeroTier secret key (X25519 + Ed25519); optional.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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