pub struct Overrides {
pub kibana_url: Option<String>,
pub es_url: Option<String>,
pub api_key: Option<String>,
pub space: Option<String>,
pub timeout_secs: Option<u64>,
}Fields§
§kibana_url: Option<String>§es_url: Option<String>§api_key: Option<String>§space: Option<String>§timeout_secs: Option<u64>Implementations§
Source§impl Overrides
impl Overrides
Sourcepub fn from_env() -> Overrides
pub fn from_env() -> Overrides
Read ELASTICCTL_* environment variables as overrides.
es_url and kibana_url are identity overrides. Cloud deployments use
distinct endpoints; inheriting one from a saved profile could target two
deployments and send the overridden credential to the wrong host.
Sourcepub fn merge_over(self, lower: Overrides) -> Overrides
pub fn merge_over(self, lower: Overrides) -> Overrides
Merge overrides, preferring self over lower.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
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