pub struct EmissionScopeConfig {
pub enabled: bool,
pub factor_region: String,
}Expand description
Configuration for a single emission scope (Scope 1 or 2).
Fields§
§enabled: boolWhether this scope is enabled.
factor_region: StringEmission factor region (e.g., “US”, “EU”, “global”).
Trait Implementations§
Source§impl Clone for EmissionScopeConfig
impl Clone for EmissionScopeConfig
Source§fn clone(&self) -> EmissionScopeConfig
fn clone(&self) -> EmissionScopeConfig
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 EmissionScopeConfig
impl Debug for EmissionScopeConfig
Source§impl Default for EmissionScopeConfig
impl Default for EmissionScopeConfig
Source§impl<'de> Deserialize<'de> for EmissionScopeConfig
impl<'de> Deserialize<'de> for EmissionScopeConfig
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 EmissionScopeConfig
impl RefUnwindSafe for EmissionScopeConfig
impl Send for EmissionScopeConfig
impl Sync for EmissionScopeConfig
impl Unpin for EmissionScopeConfig
impl UnsafeUnpin for EmissionScopeConfig
impl UnwindSafe for EmissionScopeConfig
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