pub struct KiroConfig {
pub enabled: bool,
pub db_path: Option<PathBuf>,
}Expand description
Kiro CLI reads its quota through the AWS SSO OIDC session kiro-cli already
wrote to its own local data.sqlite3 — no API key, but (like Cursor) a
real on-disk path that can need overriding.
Opt-in like Cursor/DeepSeek/Kilo/etc (enabled defaults to false):
calls a reverse-engineered CodeWhisperer endpoint via a session token
scraped from a local CLI database, so it stays off until the user
explicitly turns it on.
Fields§
§enabled: bool§db_path: Option<PathBuf>Override kiro-cli’s local database path (defaults to the
platform-standard .../kiro-cli/data.sqlite3 — see
kiro::db::default_db_path).
Trait Implementations§
Source§impl Clone for KiroConfig
impl Clone for KiroConfig
Source§fn clone(&self) -> KiroConfig
fn clone(&self) -> KiroConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KiroConfig
impl Debug for KiroConfig
Source§impl Default for KiroConfig
impl Default for KiroConfig
Source§fn default() -> KiroConfig
fn default() -> KiroConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KiroConfigwhere
KiroConfig: Default,
impl<'de> Deserialize<'de> for KiroConfigwhere
KiroConfig: 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 KiroConfig
impl RefUnwindSafe for KiroConfig
impl Send for KiroConfig
impl Sync for KiroConfig
impl Unpin for KiroConfig
impl UnsafeUnpin for KiroConfig
impl UnwindSafe for KiroConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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