pub struct XMatrix {
pub origin: String,
pub destination: Option<String>,
pub key: String,
pub sig: String,
}Expand description
Parsed Authorization: X-Matrix ... header.
Fields§
§origin: StringSending server.
destination: Option<String>Receiving server (absent from pre-1.3 senders).
key: StringKey id the signature was made with.
sig: StringUnpadded base64 signature.
Trait Implementations§
impl StructuralPartialEq for XMatrix
Auto Trait Implementations§
impl Freeze for XMatrix
impl RefUnwindSafe for XMatrix
impl Send for XMatrix
impl Sync for XMatrix
impl Unpin for XMatrix
impl UnsafeUnpin for XMatrix
impl UnwindSafe for XMatrix
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