pub enum MinerCommand {
RPC {
command: &'static str,
parameters: Option<Value>,
},
GRPC {
command: &'static str,
},
WebAPI {
command: &'static str,
parameters: Option<Value>,
},
GraphQL {
command: &'static str,
},
SSH {
command: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Clone for MinerCommand
impl Clone for MinerCommand
Source§fn clone(&self) -> MinerCommand
fn clone(&self) -> MinerCommand
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 MinerCommand
impl Debug for MinerCommand
Source§impl Deserialize<'static> for MinerCommand
impl Deserialize<'static> for MinerCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MinerCommand
impl Hash for MinerCommand
Source§impl PartialEq for MinerCommand
impl PartialEq for MinerCommand
Source§impl Serialize for MinerCommand
impl Serialize for MinerCommand
impl Eq for MinerCommand
impl StructuralPartialEq for MinerCommand
Auto Trait Implementations§
impl Freeze for MinerCommand
impl RefUnwindSafe for MinerCommand
impl Send for MinerCommand
impl Sync for MinerCommand
impl Unpin for MinerCommand
impl UnwindSafe for MinerCommand
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