pub struct ConfigBuilder {Show 18 fields
pub config_set_forbidden: Option<bool>,
pub objectiveai_dir: Option<String>,
pub objectiveai_state: Option<String>,
pub commit_author_name: Option<String>,
pub commit_author_email: Option<String>,
pub agent_instance_hierarchy: Option<String>,
pub agent_id: Option<String>,
pub agent_full_id: Option<String>,
pub agent_remote: Option<String>,
pub response_id: Option<String>,
pub response_ids: Option<String>,
pub mcp_session_id: Option<String>,
pub plugin_owner: Option<String>,
pub plugin_repository: Option<String>,
pub plugin_version: Option<String>,
pub daemon_address: Option<String>,
pub daemon_port: Option<u16>,
pub daemon_secret: Option<String>,
}Fields§
§config_set_forbidden: Option<bool>§objectiveai_dir: Option<String>§objectiveai_state: Option<String>§agent_instance_hierarchy: Option<String>§agent_id: Option<String>§agent_full_id: Option<String>§agent_remote: Option<String>§response_id: Option<String>§response_ids: Option<String>§mcp_session_id: Option<String>§plugin_owner: Option<String>§plugin_repository: Option<String>§plugin_version: Option<String>§daemon_address: Option<String>§daemon_port: Option<u16>§daemon_secret: Option<String>Implementations§
Trait Implementations§
Source§impl Default for ConfigBuilder
impl Default for ConfigBuilder
Source§fn default() -> ConfigBuilder
fn default() -> ConfigBuilder
Returns the “default value” for a type. Read more
Source§impl Envconfig for ConfigBuilder
impl Envconfig for ConfigBuilder
Source§fn init() -> Result<Self, Error>
fn init() -> Result<Self, Error>
👎Deprecated since 0.9.0:
Function init() is deprecated. Please use init_from_env() instead.
Initialize structure from environment variables.
Deprecated in favor of [
::init_from_env()]. Read moreAuto Trait Implementations§
impl Freeze for ConfigBuilder
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnsafeUnpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
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> 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