pub struct DoUpdateResponse {
pub config: Vec<u8>,
pub counter: u32,
pub nonce: Vec<u8>,
pub trusted_keys: Vec<u8>,
}
Expand description
A server response to a DoUpdateRequest
, with the updated config and key information
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
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
nonce: Vec<u8>
The same base64-encoded nonce that was sent in the DoUpdateRequest
.
trusted_keys: Vec<u8>
A new set of trusted ed25519 keys that can be used by the server to sign messages.
Trait Implementations§
Source§impl Debug for DoUpdateResponse
impl Debug for DoUpdateResponse
Source§impl<'de> Deserialize<'de> for DoUpdateResponse
impl<'de> Deserialize<'de> for DoUpdateResponse
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 DoUpdateResponse
impl RefUnwindSafe for DoUpdateResponse
impl Send for DoUpdateResponse
impl Sync for DoUpdateResponse
impl Unpin for DoUpdateResponse
impl UnwindSafe for DoUpdateResponse
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