Struct iroh_rpc_types::p2p::NotifyNewBlocksBitswapRequest
source · pub struct NotifyNewBlocksBitswapRequest {
pub blocks: Vec<BitswapBlock>,
}
Fields§
§blocks: Vec<BitswapBlock>
Trait Implementations§
source§impl<'de> Deserialize<'de> for NotifyNewBlocksBitswapRequest
impl<'de> Deserialize<'de> for NotifyNewBlocksBitswapRequest
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 From<NotifyNewBlocksBitswapRequest> for P2pRequest
impl From<NotifyNewBlocksBitswapRequest> for P2pRequest
source§fn from(original: NotifyNewBlocksBitswapRequest) -> P2pRequest
fn from(original: NotifyNewBlocksBitswapRequest) -> P2pRequest
Converts to this type from the input type.