pub struct CcsAliasConfig {
pub cmd: String,
pub output_flag: Option<String>,
pub yolo_flag: Option<String>,
pub verbose_flag: Option<String>,
pub print_flag: Option<String>,
pub streaming_flag: Option<String>,
pub json_parser: Option<String>,
pub can_commit: Option<bool>,
pub model_flag: Option<String>,
pub session_flag: Option<String>,
}Expand description
Per-alias CCS configuration (table form).
Fields§
§cmd: StringBase CCS command to run (e.g., “ccs work”, “ccs gemini”).
output_flag: Option<String>Optional output flag override for this alias. Use “” to disable.
yolo_flag: Option<String>Optional yolo flag override for this alias. Use “” to enable/disable explicitly.
verbose_flag: Option<String>Optional verbose flag override for this alias. Use “” to disable.
print_flag: Option<String>Optional print flag override for this alias (e.g., “-p” for Claude/CCS).
streaming_flag: Option<String>Optional streaming flag override for this alias (e.g., “–include-partial-messages”).
json_parser: Option<String>Optional JSON parser override (e.g., “claude”, “generic”).
can_commit: Option<bool>Optional can_commit override for this alias.
model_flag: Option<String>Optional model flag appended to the command.
session_flag: Option<String>Optional session continuation flag (e.g., “–resume {}” for Claude CLI). The “{}” placeholder is replaced with the session ID.
Trait Implementations§
Source§impl Clone for CcsAliasConfig
impl Clone for CcsAliasConfig
Source§fn clone(&self) -> CcsAliasConfig
fn clone(&self) -> CcsAliasConfig
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 moreSource§impl Debug for CcsAliasConfig
impl Debug for CcsAliasConfig
Source§impl Default for CcsAliasConfig
impl Default for CcsAliasConfig
Source§fn default() -> CcsAliasConfig
fn default() -> CcsAliasConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CcsAliasConfigwhere
CcsAliasConfig: Default,
impl<'de> Deserialize<'de> for CcsAliasConfigwhere
CcsAliasConfig: Default,
Source§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
Auto Trait Implementations§
impl Freeze for CcsAliasConfig
impl RefUnwindSafe for CcsAliasConfig
impl Send for CcsAliasConfig
impl Sync for CcsAliasConfig
impl Unpin for CcsAliasConfig
impl UnwindSafe for CcsAliasConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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