pub enum AddNodeCommand {
Add,
Remove,
OneTry,
}
Expand description
Args for the addnode
method.
Variants§
Trait Implementations§
Source§impl Clone for AddNodeCommand
impl Clone for AddNodeCommand
Source§fn clone(&self) -> AddNodeCommand
fn clone(&self) -> AddNodeCommand
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 AddNodeCommand
impl Debug for AddNodeCommand
Source§impl<'de> Deserialize<'de> for AddNodeCommand
impl<'de> Deserialize<'de> for AddNodeCommand
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
Source§impl Serialize for AddNodeCommand
impl Serialize for AddNodeCommand
impl Copy for AddNodeCommand
Auto Trait Implementations§
impl Freeze for AddNodeCommand
impl RefUnwindSafe for AddNodeCommand
impl Send for AddNodeCommand
impl Sync for AddNodeCommand
impl Unpin for AddNodeCommand
impl UnwindSafe for AddNodeCommand
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