pub struct RuntimeOptionUpdate {
pub correlation_id: String,
pub applied: bool,
pub changes: Vec<OptionFieldChange>,
pub errors: Vec<RuntimeOptionError>,
pub requires_repaint: bool,
pub requires_renderer_reinit: bool,
}Expand description
The outcome of an RuntimeOptions::apply_patch call.
Fields§
§correlation_id: StringCorrelation id carried through for structured-log triage.
applied: booltrue when the patch was committed; false means rejected and rolled
back (options unchanged).
changes: Vec<OptionFieldChange>The fields that actually changed (empty when rejected or a no-op).
errors: Vec<RuntimeOptionError>Every validation/gating error (empty when applied).
requires_repaint: boolWhether the host must repaint the grid to reflect the change.
requires_renderer_reinit: boolWhether the host must tear down and re-create the renderer backend.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeOptionUpdate
impl Clone for RuntimeOptionUpdate
Source§fn clone(&self) -> RuntimeOptionUpdate
fn clone(&self) -> RuntimeOptionUpdate
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 RuntimeOptionUpdate
impl Debug for RuntimeOptionUpdate
impl Eq for RuntimeOptionUpdate
Source§impl PartialEq for RuntimeOptionUpdate
impl PartialEq for RuntimeOptionUpdate
Source§fn eq(&self, other: &RuntimeOptionUpdate) -> bool
fn eq(&self, other: &RuntimeOptionUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeOptionUpdate
Auto Trait Implementations§
impl Freeze for RuntimeOptionUpdate
impl RefUnwindSafe for RuntimeOptionUpdate
impl Send for RuntimeOptionUpdate
impl Sync for RuntimeOptionUpdate
impl Unpin for RuntimeOptionUpdate
impl UnsafeUnpin for RuntimeOptionUpdate
impl UnwindSafe for RuntimeOptionUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.