Struct ruma_federation_api::keys::claim_keys::v1::KeyObject
source · pub struct KeyObject {
pub key: Base64,
pub signatures: BTreeMap<OwnedUserId, BTreeMap<OwnedDeviceKeyId, String>>,
}
Expand description
A key and its signature
Fields§
§key: Base64
The key, encoded using unpadded base64.
signatures: BTreeMap<OwnedUserId, BTreeMap<OwnedDeviceKeyId, String>>
Signature of the key object.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyObject
impl<'de> Deserialize<'de> for KeyObject
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 RefUnwindSafe for KeyObject
impl Send for KeyObject
impl Sync for KeyObject
impl Unpin for KeyObject
impl UnwindSafe for KeyObject
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