Struct Config
pub struct Config {
pub clusters: Vec<Cluster>,
pub client: ClientConfig,
pub daemon: DaemonConfig,
}Expand description
Representation of the project configuration.
Includes subcommand specific configurations for client and daemon subcommands
as well es the cluster tags.
Fields§
§clusters: Vec<Cluster>List of cluster tags.
Includes the name of the cluster tag and a list of hostnames.
client: ClientConfigConfiguration relevant for the client subcommand.
daemon: DaemonConfigConfiguration relevant for the daemon subcommand.
Trait Implementations§
§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
§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 StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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