pub struct RootConfigChangedAction {
pub config: JsonObject,
pub replace: Option<bool>,
}Expand description
Fired when agent-host configuration values change.
By default, the reducer merges the new values into state.config.values.
Set replace to true to replace all values instead of merging.
Fields§
§config: JsonObjectUpdated config values
replace: Option<bool>When true, replaces all config values instead of merging
Trait Implementations§
Source§impl Clone for RootConfigChangedAction
impl Clone for RootConfigChangedAction
Source§fn clone(&self) -> RootConfigChangedAction
fn clone(&self) -> RootConfigChangedAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RootConfigChangedAction
impl Debug for RootConfigChangedAction
Source§impl<'de> Deserialize<'de> for RootConfigChangedAction
impl<'de> Deserialize<'de> for RootConfigChangedAction
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
Source§impl PartialEq for RootConfigChangedAction
impl PartialEq for RootConfigChangedAction
Source§fn eq(&self, other: &RootConfigChangedAction) -> bool
fn eq(&self, other: &RootConfigChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootConfigChangedAction
impl Serialize for RootConfigChangedAction
impl StructuralPartialEq for RootConfigChangedAction
Auto Trait Implementations§
impl Freeze for RootConfigChangedAction
impl RefUnwindSafe for RootConfigChangedAction
impl Send for RootConfigChangedAction
impl Sync for RootConfigChangedAction
impl Unpin for RootConfigChangedAction
impl UnsafeUnpin for RootConfigChangedAction
impl UnwindSafe for RootConfigChangedAction
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