pub struct MachineKeyPair {
pub public: MachinePublicKey,
pub private: MachinePrivateKey,
}Expand description
The X25519 public/private key pair of a unique piece of hardware running one or more Tailscale nodes.
Fields§
§public: MachinePublicKeyThis keypair’s public key.
private: MachinePrivateKeyThis keypair’s private key.
Implementations§
Trait Implementations§
Source§impl Clone for MachineKeyPair
impl Clone for MachineKeyPair
Source§fn clone(&self) -> MachineKeyPair
fn clone(&self) -> MachineKeyPair
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 moreSource§impl Debug for MachineKeyPair
impl Debug for MachineKeyPair
Source§impl Default for MachineKeyPair
impl Default for MachineKeyPair
impl Eq for MachineKeyPair
Source§impl From<MachinePrivateKey> for MachineKeyPair
impl From<MachinePrivateKey> for MachineKeyPair
Source§fn from(private: MachinePrivateKey) -> Self
fn from(private: MachinePrivateKey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MachineKeyPair
impl PartialEq for MachineKeyPair
Source§fn eq(&self, other: &MachineKeyPair) -> bool
fn eq(&self, other: &MachineKeyPair) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineKeyPair
Auto Trait Implementations§
impl Freeze for MachineKeyPair
impl RefUnwindSafe for MachineKeyPair
impl Send for MachineKeyPair
impl Sync for MachineKeyPair
impl Unpin for MachineKeyPair
impl UnsafeUnpin for MachineKeyPair
impl UnwindSafe for MachineKeyPair
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