Enum goxlr_client::cli::SubCommands
source · [−]pub enum SubCommands {
Profiles {
command: ProfileType,
},
Volume {
channel: ChannelName,
volume_percent: u8,
},
BleepVolume {
volume_percent: u8,
},
Faders {
fader: FaderCommands,
},
CoughBehaviour {
mute_behaviour: MuteFunction,
},
Router {
input: InputDevice,
output: OutputDevice,
enabled: bool,
},
Lighting {
command: LightingCommands,
},
}
Variants
Profiles
Fields
command: ProfileType
Profile Settings
Volume
Fields
channel: ChannelName
The Channel To Change
volume_percent: u8
The new volume as a percentage [0 - 100]
Adjust Channel Volumes
BleepVolume
Fields
volume_percent: u8
Set Bleep Button Volume
Configure the Bleep Button
Faders
Fields
fader: FaderCommands
Commands to manipulate the individual GoXLR Faders
CoughBehaviour
Fields
mute_behaviour: MuteFunction
Where a single press will mute (Hold will always Mute to All)
Commands for configuring the cough button
Router
Fields
input: InputDevice
The input device
output: OutputDevice
The output device
enabled: bool
Is routing enabled between these two devices? [true | false]
Commands to manipulate the GoXLR Router
Lighting
Fields
command: LightingCommands
Commands to control the GoXLR lighting
Trait Implementations
sourceimpl Debug for SubCommands
impl Debug for SubCommands
sourceimpl FromArgMatches for SubCommands
impl FromArgMatches for SubCommands
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self
from [ArgMatches
], parsing the arguments as needed. Read more
sourcefn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
sourceimpl Subcommand for SubCommands
impl Subcommand for SubCommands
sourcefn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can instantiate Self
. Read more
sourcefn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
Append to [App
] so it can update self
. Read more
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether Self
can parse a specific subcommand
Auto Trait Implementations
impl RefUnwindSafe for SubCommands
impl Send for SubCommands
impl Sync for SubCommands
impl Unpin for SubCommands
impl UnwindSafe for SubCommands
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more