pub struct Version {
pub user_agent: String,
pub protocol_version: u32,
pub blocks: u32,
pub id: u32,
pub address_id: usize,
pub services: ServiceFlags,
pub kind: ConnectionKind,
pub transport_protocol: TransportProtocol,
}Fields§
§user_agent: String§protocol_version: u32§blocks: u32§id: u32§address_id: usize§services: ServiceFlags§kind: ConnectionKind§transport_protocol: TransportProtocolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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