pub struct EnrollResponseData {
pub config: Vec<u8>,
pub host_id: String,
pub counter: u32,
pub trusted_keys: Vec<u8>,
pub organization: EnrollResponseDataOrg,
}
Expand description
The data included in an successful enrollment.
Fields§
§config: Vec<u8>
The base64-encoded Nebula config. It does NOT have a private-key, which must be inserted explicitly before Nebula can be ran
host_id: String
The server-side Host ID that this node now has.
counter: u32
The new config counter. It is unknown what the purpose of this is, but the original client keeps track of it and it is used later in the api
trusted_keys: Vec<u8>
A new set of trusted ed25519 keys that can be used by the server to sign messages.
organization: EnrollResponseDataOrg
The organization data that this node is now a part of
Trait Implementations§
Source§impl Debug for EnrollResponseData
impl Debug for EnrollResponseData
Source§impl<'de> Deserialize<'de> for EnrollResponseData
impl<'de> Deserialize<'de> for EnrollResponseData
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
Auto Trait Implementations§
impl Freeze for EnrollResponseData
impl RefUnwindSafe for EnrollResponseData
impl Send for EnrollResponseData
impl Sync for EnrollResponseData
impl Unpin for EnrollResponseData
impl UnwindSafe for EnrollResponseData
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