pub struct HostingStats {
pub hosting_announces_sent: u64,
pub hosting_announces_received: u64,
pub updates_via_proximity: u64,
pub updates_via_subscription: u64,
pub false_positive_forwards: u64,
pub avg_neighbor_hosting_size: f32,
}Fields§
§hosting_announces_sent: u64Number of hosting announcements sent
hosting_announces_received: u64Number of hosting announcements received
updates_via_proximity: u64Updates forwarded via proximity (not subscription)
updates_via_subscription: u64Updates forwarded via subscription
false_positive_forwards: u64False positives due to hash collisions
avg_neighbor_hosting_size: f32Average number of contracts per neighbor
Trait Implementations§
Source§impl Clone for HostingStats
impl Clone for HostingStats
Source§fn clone(&self) -> HostingStats
fn clone(&self) -> HostingStats
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 moreSource§impl Debug for HostingStats
impl Debug for HostingStats
Source§impl<'de> Deserialize<'de> for HostingStats
impl<'de> Deserialize<'de> for HostingStats
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
Auto Trait Implementations§
impl Freeze for HostingStats
impl RefUnwindSafe for HostingStats
impl Send for HostingStats
impl Sync for HostingStats
impl Unpin for HostingStats
impl UnsafeUnpin for HostingStats
impl UnwindSafe for HostingStats
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