pub struct ServerSummary {
pub total_channels: usize,
pub extended_channels: usize,
pub standard_channels: usize,
pub total_hashrate: f32,
}Expand description
Aggregate information about the server connection
Fields§
§total_channels: usize§extended_channels: usize§standard_channels: usize§total_hashrate: f32Trait Implementations§
Source§impl Clone for ServerSummary
impl Clone for ServerSummary
Source§fn clone(&self) -> ServerSummary
fn clone(&self) -> ServerSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for ServerSummary
impl ComposeSchema for ServerSummary
Source§impl Debug for ServerSummary
impl Debug for ServerSummary
Source§impl<'de> Deserialize<'de> for ServerSummary
impl<'de> Deserialize<'de> for ServerSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ServerSummary
impl Serialize for ServerSummary
Auto Trait Implementations§
impl Freeze for ServerSummary
impl RefUnwindSafe for ServerSummary
impl Send for ServerSummary
impl Sync for ServerSummary
impl Unpin for ServerSummary
impl UnsafeUnpin for ServerSummary
impl UnwindSafe for ServerSummary
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