Struct ipfs_api_backend_hyper::response::BitswapStatResponse [−][src]
pub struct BitswapStatResponse {
pub provide_buf_len: i32,
pub wantlist: Vec<String, Global>,
pub peers: Vec<String, Global>,
pub blocks_received: u64,
pub data_received: u64,
pub blocks_sent: u64,
pub data_sent: u64,
pub dup_blks_received: u64,
pub dup_data_received: u64,
}Fields
provide_buf_len: i32wantlist: Vec<String, Global>peers: Vec<String, Global>blocks_received: u64data_received: u64blocks_sent: u64data_sent: u64dup_blks_received: u64dup_data_received: u64Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapStatResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapStatResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BitswapStatResponse
impl Send for BitswapStatResponse
impl Sync for BitswapStatResponse
impl Unpin for BitswapStatResponse
impl UnwindSafe for BitswapStatResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more