pub struct BanPeerResponse {
pub banned: bool,
}Expand description
Response for BanPeerRequest.
Fields§
§banned: boolWhether the peer is now banned.
Trait Implementations§
Source§impl Clone for BanPeerResponse
impl Clone for BanPeerResponse
Source§fn clone(&self) -> BanPeerResponse
fn clone(&self) -> BanPeerResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BanPeerResponse
impl Debug for BanPeerResponse
Source§impl<'de> Deserialize<'de> for BanPeerResponse
impl<'de> Deserialize<'de> for BanPeerResponse
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
Auto Trait Implementations§
impl Freeze for BanPeerResponse
impl RefUnwindSafe for BanPeerResponse
impl Send for BanPeerResponse
impl Sync for BanPeerResponse
impl Unpin for BanPeerResponse
impl UnsafeUnpin for BanPeerResponse
impl UnwindSafe for BanPeerResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more