pub struct PublicKeysResponseModel {
pub object: Option<String>,
pub verifying_key: Option<String>,
pub signed_public_key: Option<String>,
pub public_key: Option<String>,
}Expand description
PublicKeysResponseModel : This response model is used to return the public keys of a user, to any other registered user or entity on the server. It can contain public keys (signature/encryption), and proofs between the two. It does not contain (encrypted) private keys.
Fields§
§object: Option<String>§verifying_key: Option<String>§signed_public_key: Option<String>§public_key: Option<String>Implementations§
Source§impl PublicKeysResponseModel
impl PublicKeysResponseModel
Sourcepub fn new(public_key: Option<String>) -> PublicKeysResponseModel
pub fn new(public_key: Option<String>) -> PublicKeysResponseModel
This response model is used to return the public keys of a user, to any other registered user or entity on the server. It can contain public keys (signature/encryption), and proofs between the two. It does not contain (encrypted) private keys.
Trait Implementations§
Source§impl Clone for PublicKeysResponseModel
impl Clone for PublicKeysResponseModel
Source§fn clone(&self) -> PublicKeysResponseModel
fn clone(&self) -> PublicKeysResponseModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublicKeysResponseModel
impl Debug for PublicKeysResponseModel
Source§impl Default for PublicKeysResponseModel
impl Default for PublicKeysResponseModel
Source§fn default() -> PublicKeysResponseModel
fn default() -> PublicKeysResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicKeysResponseModel
impl<'de> Deserialize<'de> for PublicKeysResponseModel
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
Source§impl PartialEq for PublicKeysResponseModel
impl PartialEq for PublicKeysResponseModel
Source§impl Serialize for PublicKeysResponseModel
impl Serialize for PublicKeysResponseModel
impl StructuralPartialEq for PublicKeysResponseModel
Auto Trait Implementations§
impl Freeze for PublicKeysResponseModel
impl RefUnwindSafe for PublicKeysResponseModel
impl Send for PublicKeysResponseModel
impl Sync for PublicKeysResponseModel
impl Unpin for PublicKeysResponseModel
impl UnwindSafe for PublicKeysResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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