pub struct EnrollmentResponse {
pub node_id: String,
pub status: String,
pub tunnel_ip: Option<String>,
pub c2_tunnel_ip: Option<String>,
pub c2_wg_public_key: Option<String>,
pub c2_wg_endpoint: Option<String>,
pub c2_call_home: Option<String>,
pub upstream_c2_public_key: Option<String>,
pub upstream_recipient_public_key: Option<String>,
}Expand description
Public answer to a successful enrollment. No secret of any kind.
Fields§
§node_id: String§status: String§tunnel_ip: Option<String>Address the node uses inside the node tunnel (without prefix length).
c2_tunnel_ip: Option<String>C2 end of the node tunnel.
c2_wg_public_key: Option<String>§c2_wg_endpoint: Option<String>host:port of the C2 WireGuard listener.
c2_call_home: Option<String>ip:port of the call-home listener inside the tunnel.
upstream_c2_public_key: Option<String>A2 nested crypto: C2 outer-layer public key (base64). Node seals with both upstream keys.
upstream_recipient_public_key: Option<String>A2 nested crypto: HQ recipient public key relayed by C2 (base64). No HQ name/address.
Trait Implementations§
Source§impl Clone for EnrollmentResponse
impl Clone for EnrollmentResponse
Source§impl Debug for EnrollmentResponse
impl Debug for EnrollmentResponse
Source§impl<'de> Deserialize<'de> for EnrollmentResponse
impl<'de> Deserialize<'de> for EnrollmentResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnrollmentResponse
Source§impl PartialEq for EnrollmentResponse
impl PartialEq for EnrollmentResponse
Source§impl Serialize for EnrollmentResponse
impl Serialize for EnrollmentResponse
impl StructuralPartialEq for EnrollmentResponse
Auto Trait Implementations§
impl Freeze for EnrollmentResponse
impl RefUnwindSafe for EnrollmentResponse
impl Send for EnrollmentResponse
impl Sync for EnrollmentResponse
impl Unpin for EnrollmentResponse
impl UnsafeUnpin for EnrollmentResponse
impl UnwindSafe for EnrollmentResponse
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