pub struct SessionKeyPair {
pub private_key_pem: String,
pub public_key_pem: String,
pub private_key: RsaPrivateKey,
}Expand description
Session keypair for federation requests
Fields§
§private_key_pem: String§public_key_pem: String§private_key: RsaPrivateKeyTrait Implementations§
Source§impl Clone for SessionKeyPair
impl Clone for SessionKeyPair
Source§fn clone(&self) -> SessionKeyPair
fn clone(&self) -> SessionKeyPair
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 moreAuto Trait Implementations§
impl Freeze for SessionKeyPair
impl RefUnwindSafe for SessionKeyPair
impl Send for SessionKeyPair
impl Sync for SessionKeyPair
impl Unpin for SessionKeyPair
impl UnsafeUnpin for SessionKeyPair
impl UnwindSafe for SessionKeyPair
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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