pub struct ClientKey {
pub client_key: Option<String>,
pub signature: Option<String>,
pub expires_at: Option<String>,
}
Expand description
ClientKey : A Base64-encoded X25519 public key.
Fields§
§client_key: Option<String>
A Base64-encoded X25519 public key that can be used with a libsodium-compatible sealed box to encrypt secrets before upload.
signature: Option<String>
A Base64-encoded signature of the client key. The signature is generated using the signing key and must be verified before using the client key.
expires_at: Option<String>
Date and time in ISO 8601 format.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClientKey
impl<'de> Deserialize<'de> for ClientKey
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 StructuralPartialEq for ClientKey
Auto Trait Implementations§
impl Freeze for ClientKey
impl RefUnwindSafe for ClientKey
impl Send for ClientKey
impl Sync for ClientKey
impl Unpin for ClientKey
impl UnwindSafe for ClientKey
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