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: Stringvalue: f64sent: u64recv: u64exchanged: u64Trait 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
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