pub struct ChannelSnapshot {
pub addr_a: SocketAddr,
pub addr_b: SocketAddr,
pub cid: u32,
pub sid: Option<u32>,
pub pv_name: String,
pub last_seen: Duration,
pub updates_per_sec: f64,
pub recent_messages: Vec<String>,
pub mid_stream: bool,
pub is_beacon: bool,
pub is_broadcast: bool,
}Fields§
§addr_a: SocketAddr§addr_b: SocketAddr§cid: u32§sid: Option<u32>§pv_name: String§last_seen: Duration§updates_per_sec: f64§recent_messages: Vec<String>§mid_stream: bool§is_beacon: bool§is_broadcast: boolTrait Implementations§
Source§impl Clone for ChannelSnapshot
impl Clone for ChannelSnapshot
Source§fn clone(&self) -> ChannelSnapshot
fn clone(&self) -> ChannelSnapshot
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 ChannelSnapshot
impl RefUnwindSafe for ChannelSnapshot
impl Send for ChannelSnapshot
impl Sync for ChannelSnapshot
impl Unpin for ChannelSnapshot
impl UnsafeUnpin for ChannelSnapshot
impl UnwindSafe for ChannelSnapshot
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