Struct ruma::api::identity_service::invitation::store_invitation::v2::PublicKeys
source · [−]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: String
The server’s long-term public key.
ephemeral_key: String
The generated ephemeral public key.
Trait Implementations
sourceimpl Clone for PublicKeys
impl Clone for PublicKeys
sourcefn clone(&self) -> PublicKeys
fn clone(&self) -> PublicKeys
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PublicKeys
impl Debug for PublicKeys
sourceimpl<'de> Deserialize<'de> for PublicKeys
impl<'de> Deserialize<'de> for PublicKeys
sourcefn 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
sourceimpl Serialize for PublicKeys
impl Serialize for PublicKeys
sourcefn 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 RefUnwindSafe for PublicKeys
impl Send for PublicKeys
impl Sync for PublicKeys
impl Unpin for PublicKeys
impl UnwindSafe for PublicKeys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more