pub struct SerializationContext {
pub keystore: Arc<KeyStore>,
pub resolver: Arc<dyn LabelResolver>,
pub network_id: String,
pub profile_public_key: Option<Vec<u8>>,
}Expand description
Consolidated context for serialization operations containing all encryption-related parameters
Fields§
§keystore: Arc<KeyStore>§resolver: Arc<dyn LabelResolver>§network_id: String§profile_public_key: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for SerializationContext
impl Clone for SerializationContext
Source§fn clone(&self) -> SerializationContext
fn clone(&self) -> SerializationContext
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 SerializationContext
impl !RefUnwindSafe for SerializationContext
impl Send for SerializationContext
impl Sync for SerializationContext
impl Unpin for SerializationContext
impl UnsafeUnpin for SerializationContext
impl !UnwindSafe for SerializationContext
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