pub struct DoUpdateRequest {
pub ed_pubkey_pem: Vec<u8>,
pub dh_pubkey_pem: Vec<u8>,
pub nonce: Vec<u8>,
}
Expand description
DoUpdateRequest
is the request sent for a DoUpdate
request.
Fields§
§ed_pubkey_pem: Vec<u8>
The new ed25519 public key that should be used for future API requests
dh_pubkey_pem: Vec<u8>
The new ECDH public key that the Nebula certificate should be signed for
nonce: Vec<u8>
A randomized value used to uniquely identify this request. The original client uses a randomized, 16-byte value here, which dnapi-rs replicates
Trait Implementations§
Source§impl Debug for DoUpdateRequest
impl Debug for DoUpdateRequest
Source§impl<'de> Deserialize<'de> for DoUpdateRequest
impl<'de> Deserialize<'de> for DoUpdateRequest
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 DoUpdateRequest
impl RefUnwindSafe for DoUpdateRequest
impl Send for DoUpdateRequest
impl Sync for DoUpdateRequest
impl Unpin for DoUpdateRequest
impl UnwindSafe for DoUpdateRequest
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