Struct unc_client_primitives::types::KnownProducer
source · pub struct KnownProducer {
pub account_id: AccountId,
pub addr: Option<SocketAddr>,
pub peer_id: PeerId,
pub next_hops: Option<Vec<PeerId>>,
}Fields§
§account_id: AccountId§addr: Option<SocketAddr>§peer_id: PeerId§next_hops: Option<Vec<PeerId>>Trait Implementations§
source§impl Clone for KnownProducer
impl Clone for KnownProducer
source§fn clone(&self) -> KnownProducer
fn clone(&self) -> KnownProducer
Returns a copy 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 KnownProducer
impl RefUnwindSafe for KnownProducer
impl Send for KnownProducer
impl Sync for KnownProducer
impl Unpin for KnownProducer
impl UnwindSafe for KnownProducer
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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