pub struct NetworkDescription {
pub anchor_hosts: Vec<(String, u16)>,
pub chain_info: ChainInfo,
pub net_versions: Vec<Version>,
pub known_points: Vec<(u64, Point)>,
}
Fields§
§anchor_hosts: Vec<(String, u16)>
§chain_info: ChainInfo
§net_versions: Vec<Version>
§known_points: Vec<(u64, Point)>
Implementations§
Trait Implementations§
Source§impl Clone for NetworkDescription
impl Clone for NetworkDescription
Source§fn clone(&self) -> NetworkDescription
fn clone(&self) -> NetworkDescription
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 NetworkDescription
impl RefUnwindSafe for NetworkDescription
impl Send for NetworkDescription
impl Sync for NetworkDescription
impl Unpin for NetworkDescription
impl UnwindSafe for NetworkDescription
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