pub struct ChiaPeersRemoveResult {
pub outcome: ChiaPeerRemovalOutcome,
pub ip: String,
pub banned: bool,
}Expand description
control.chiaPeers.remove — the acknowledgement.
Fields§
§outcome: ChiaPeerRemovalOutcomeWhat happened — see ChiaPeerRemovalOutcome. There is no removed: true here, on
purpose.
ip: StringThe peer’s IP address as targeted, in the canonical form defined by
crate::params::canonical_peer_ip.
banned: boolWhether the peer is now BANNED rather than merely forgotten.
Trait Implementations§
Source§impl Clone for ChiaPeersRemoveResult
impl Clone for ChiaPeersRemoveResult
Source§fn clone(&self) -> ChiaPeersRemoveResult
fn clone(&self) -> ChiaPeersRemoveResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChiaPeersRemoveResult
impl Debug for ChiaPeersRemoveResult
Source§impl<'de> Deserialize<'de> for ChiaPeersRemoveResult
impl<'de> Deserialize<'de> for ChiaPeersRemoveResult
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
impl Eq for ChiaPeersRemoveResult
Source§impl PartialEq for ChiaPeersRemoveResult
impl PartialEq for ChiaPeersRemoveResult
Source§impl Serialize for ChiaPeersRemoveResult
impl Serialize for ChiaPeersRemoveResult
impl StructuralPartialEq for ChiaPeersRemoveResult
Auto Trait Implementations§
impl Freeze for ChiaPeersRemoveResult
impl RefUnwindSafe for ChiaPeersRemoveResult
impl Send for ChiaPeersRemoveResult
impl Sync for ChiaPeersRemoveResult
impl Unpin for ChiaPeersRemoveResult
impl UnsafeUnpin for ChiaPeersRemoveResult
impl UnwindSafe for ChiaPeersRemoveResult
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