pub struct CloudConfig {
pub enabled: bool,
pub api_url: Option<String>,
pub api_token: Option<String>,
pub run_id: Option<String>,
pub heartbeat_interval_secs: u32,
pub graceful_degradation: bool,
pub git_remote: GitRemoteConfig,
}Expand description
Cloud runtime configuration (internal).
This struct is loaded from environment variables when cloud mode is enabled.
Fields§
§enabled: boolEnable cloud reporting mode (internal env-config).
api_url: Option<String>Cloud API base URL.
api_token: Option<String>Bearer token for API authentication.
run_id: Option<String>Run ID assigned by cloud orchestrator.
heartbeat_interval_secs: u32Heartbeat interval in seconds.
graceful_degradation: boolWhether to continue on API failures.
git_remote: GitRemoteConfigGit remote configuration
Implementations§
Trait Implementations§
Source§impl Clone for CloudConfig
impl Clone for CloudConfig
Source§fn clone(&self) -> CloudConfig
fn clone(&self) -> CloudConfig
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 CloudConfig
impl Debug for CloudConfig
Source§impl Default for CloudConfig
impl Default for CloudConfig
Source§fn default() -> CloudConfig
fn default() -> CloudConfig
Returns the “default value” for a type. Read more
Source§impl From<&CloudConfig> for CloudStateConfig
impl From<&CloudConfig> for CloudStateConfig
Source§fn from(cfg: &CloudConfig) -> Self
fn from(cfg: &CloudConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CloudConfig
impl PartialEq for CloudConfig
impl StructuralPartialEq for CloudConfig
Auto Trait Implementations§
impl Freeze for CloudConfig
impl RefUnwindSafe for CloudConfig
impl Send for CloudConfig
impl Sync for CloudConfig
impl Unpin for CloudConfig
impl UnsafeUnpin for CloudConfig
impl UnwindSafe for CloudConfig
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