pub struct AssistedRotasArgs {
pub data_dir: PathBuf,
pub spec_id: Option<i32>,
pub mode: AssistedRotasMode,
pub out_dir: PathBuf,
pub user_id: Option<String>,
pub slug_prefix: String,
pub name_prefix: String,
pub is_public: bool,
}Expand description
Arguments for transforming assisted rotations.
Fields§
§data_dir: PathBufDirectory containing DBC CSV files.
spec_id: Option<i32>Optional spec ID filter (if omitted, includes all assisted specs).
mode: AssistedRotasModeOutput mode: dump files, upsert to Supabase, or both.
out_dir: PathBufOutput directory for engine rotation JSON dumps.
user_id: Option<String>Rotation owner user ID for upsert mode (UUID).
slug_prefix: StringPrefix for generated rotation slugs.
name_prefix: StringPrefix for generated rotation names.
is_public: boolMark upserted rotations as public.
Trait Implementations§
Source§impl Args for AssistedRotasArgs
impl Args for AssistedRotasArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for AssistedRotasArgs
impl Debug for AssistedRotasArgs
Source§impl FromArgMatches for AssistedRotasArgs
impl FromArgMatches for AssistedRotasArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for AssistedRotasArgs
impl RefUnwindSafe for AssistedRotasArgs
impl Send for AssistedRotasArgs
impl Sync for AssistedRotasArgs
impl Unpin for AssistedRotasArgs
impl UnsafeUnpin for AssistedRotasArgs
impl UnwindSafe for AssistedRotasArgs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more