pub struct ModeConfig {
pub nodes: Vec<String>,
pub stop_nodes: Vec<String>,
pub description: Option<String>,
}Expand description
Configuration for a single mode
This is a simplified version that will be replaced with the actual type from mecha10-cli once we integrate.
Fields§
§nodes: Vec<String>Nodes that should run in this mode
stop_nodes: Vec<String>Nodes that should be stopped when entering this mode
description: Option<String>Description of this mode
Trait Implementations§
Source§impl Clone for ModeConfig
impl Clone for ModeConfig
Source§fn clone(&self) -> ModeConfig
fn clone(&self) -> ModeConfig
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 moreAuto Trait Implementations§
impl Freeze for ModeConfig
impl RefUnwindSafe for ModeConfig
impl Send for ModeConfig
impl Sync for ModeConfig
impl Unpin for ModeConfig
impl UnwindSafe for ModeConfig
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