Struct bee_rest_api::types::responses::PeerResponse [−][src]
pub struct PeerResponse(pub PeerDto);
Expand description
Response of GET /api/v1/peer/{peer_id}. Returns information about a specific peer of the node.
Tuple Fields
0: PeerDto
Trait Implementations
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 RefUnwindSafe for PeerResponse
impl Send for PeerResponse
impl Sync for PeerResponse
impl Unpin for PeerResponse
impl UnwindSafe for PeerResponse
Blanket Implementations
Mutably borrows from an owned value. Read more