pub struct PublicKeys {
pub server_key: PublicKey,
pub ephemeral_key: PublicKey,
}
Available on crate feature
api
and (crate features identity-service-api-c
or identity-service-api-s
) only.Expand description
The server’s long-term public key and generated ephemeral public key.
Fields§
§server_key: PublicKey
The server’s long-term public key.
ephemeral_key: PublicKey
The generated ephemeral public key.
Trait Implementations§
Source§impl Clone for PublicKeys
impl Clone for PublicKeys
Source§fn clone(&self) -> PublicKeys
fn clone(&self) -> PublicKeys
Returns a copy 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 PublicKeys
impl Debug for PublicKeys
Source§impl<'de> Deserialize<'de> for PublicKeys
impl<'de> Deserialize<'de> for PublicKeys
Source§fn deserialize<D>(
deserializer: D,
) -> Result<PublicKeys, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<PublicKeys, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PublicKeys
impl Serialize for PublicKeys
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PublicKeys
impl RefUnwindSafe for PublicKeys
impl Send for PublicKeys
impl Sync for PublicKeys
impl Unpin for PublicKeys
impl UnwindSafe for PublicKeys
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