Struct ipfs_api_backend_hyper::response::BitswapLedgerResponse [−][src]
pub struct BitswapLedgerResponse {
pub peer: String,
pub value: f64,
pub sent: u64,
pub recv: u64,
pub exchanged: u64,
}
Fields
peer: String
value: f64
sent: u64
recv: u64
exchanged: u64
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapLedgerResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapLedgerResponse, <__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 BitswapLedgerResponse
impl Send for BitswapLedgerResponse
impl Sync for BitswapLedgerResponse
impl Unpin for BitswapLedgerResponse
impl UnwindSafe for BitswapLedgerResponse
Blanket Implementations
Mutably borrows from an owned value. 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