pub struct PeersDisconnectParams {
pub peer: String,
}Expand description
control.peers.disconnect params.
Fields§
§peer: StringThe peer_id to drop.
Trait Implementations§
Source§impl Clone for PeersDisconnectParams
impl Clone for PeersDisconnectParams
Source§fn clone(&self) -> PeersDisconnectParams
fn clone(&self) -> PeersDisconnectParams
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 ControlCall for PeersDisconnectParams
impl ControlCall for PeersDisconnectParams
Source§const METHOD: ControlMethod = ControlMethod::PeersDisconnect
const METHOD: ControlMethod = ControlMethod::PeersDisconnect
The wire method this call invokes.
Source§type Output = PeersDisconnectResult
type Output = PeersDisconnectResult
The typed result this call returns on success.
Source§impl Debug for PeersDisconnectParams
impl Debug for PeersDisconnectParams
Source§impl<'de> Deserialize<'de> for PeersDisconnectParams
impl<'de> Deserialize<'de> for PeersDisconnectParams
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 PeersDisconnectParams
Source§impl PartialEq for PeersDisconnectParams
impl PartialEq for PeersDisconnectParams
Source§impl Serialize for PeersDisconnectParams
impl Serialize for PeersDisconnectParams
impl StructuralPartialEq for PeersDisconnectParams
Auto Trait Implementations§
impl Freeze for PeersDisconnectParams
impl RefUnwindSafe for PeersDisconnectParams
impl Send for PeersDisconnectParams
impl Sync for PeersDisconnectParams
impl Unpin for PeersDisconnectParams
impl UnsafeUnpin for PeersDisconnectParams
impl UnwindSafe for PeersDisconnectParams
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