mirror of https://github.com/chipsenkbeil/distant
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
570 B
Rust
20 lines
570 B
Rust
use super::{AccessControl, CommonConfig, NetworkConfig};
|
|
use clap::Args;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
/// Represents configuration settings for the distant manager
|
|
#[derive(Args, Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
|
|
pub struct ManagerConfig {
|
|
/// Type of access to apply to created unix socket or windows pipe
|
|
#[clap(long, value_enum)]
|
|
pub access: Option<AccessControl>,
|
|
|
|
#[clap(flatten)]
|
|
#[serde(flatten)]
|
|
pub common: CommonConfig,
|
|
|
|
#[clap(flatten)]
|
|
#[serde(flatten)]
|
|
pub network: NetworkConfig,
|
|
}
|