Struct bee_api_types::responses::AddPeerResponse
source · [−]pub struct AddPeerResponse(pub PeerDto);Expand description
Response of POST /api/core/v2/peers. Returns information about the added peer.
Tuple Fields
0: PeerDtoTrait Implementations
sourceimpl Clone for AddPeerResponse
impl Clone for AddPeerResponse
sourcefn clone(&self) -> AddPeerResponse
fn clone(&self) -> AddPeerResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AddPeerResponse
impl Debug for AddPeerResponse
sourceimpl<'de> Deserialize<'de> for AddPeerResponse
impl<'de> Deserialize<'de> for AddPeerResponse
sourcefn 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
sourceimpl IntoResponse for AddPeerResponse
impl IntoResponse for AddPeerResponse
sourcefn into_response(self) -> Response<BoxBody>
fn into_response(self) -> Response<BoxBody>
Create a response.
sourceimpl PartialEq<AddPeerResponse> for AddPeerResponse
impl PartialEq<AddPeerResponse> for AddPeerResponse
sourcefn eq(&self, other: &AddPeerResponse) -> bool
fn eq(&self, other: &AddPeerResponse) -> bool
sourceimpl Serialize for AddPeerResponse
impl Serialize for AddPeerResponse
impl Eq for AddPeerResponse
impl StructuralEq for AddPeerResponse
impl StructuralPartialEq for AddPeerResponse
Auto Trait Implementations
impl RefUnwindSafe for AddPeerResponse
impl Send for AddPeerResponse
impl Sync for AddPeerResponse
impl Unpin for AddPeerResponse
impl UnwindSafe for AddPeerResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more