pub struct DevinConfig {
pub enabled: bool,
pub credentials_path: Option<PathBuf>,
pub accounts: Vec<DevinAccount>,
pub show_default_account: bool,
}Expand description
Devin CLI quota — reuses its existing credentials file read-only.
Fields§
§enabled: bool§credentials_path: Option<PathBuf>Override the CLI credential path; the default is the CLI’s documented
%APPDATA%\devin\credentials.toml on Windows and
${XDG_DATA_HOME:-~/.local/share}/devin/credentials.toml elsewhere.
accounts: Vec<DevinAccount>Extra Devin logins, each its own credentials.toml.
show_default_account: boolWhether the default (unnamed) Devin login gets its own tab. Defaults to
true. Set false once every login is a named account. Ignored when
there are no named accounts, so Devin never loses its only tab.
Implementations§
Source§impl DevinConfig
impl DevinConfig
Trait Implementations§
Source§impl Clone for DevinConfig
impl Clone for DevinConfig
Source§impl Debug for DevinConfig
impl Debug for DevinConfig
Source§impl Default for DevinConfig
impl Default for DevinConfig
Source§impl<'de> Deserialize<'de> for DevinConfigwhere
DevinConfig: Default,
impl<'de> Deserialize<'de> for DevinConfigwhere
DevinConfig: 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 DevinConfig
impl RefUnwindSafe for DevinConfig
impl Send for DevinConfig
impl Sync for DevinConfig
impl Unpin for DevinConfig
impl UnsafeUnpin for DevinConfig
impl UnwindSafe for DevinConfig
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