pub struct ConfigValidation {
pub applied: AppliedConfig,
pub unknown_actions: Vec<String>,
pub conflicts: Vec<BindingConflict>,
pub conflicts_truncated: bool,
}Expand description
Non-mutating preview of a valid file merged with this host’s registrations.
Reports at most MAX_CONFIG_CONFLICTS pairs in source-code, action-ID, then
binding-index order. conflicts_truncated means additional pairs exist, not
that validation of the file was skipped. See ActionMap::validate_config.
Fields§
§applied: AppliedConfig§unknown_actions: Vec<String>Retired/unrecognized names, in file order; their bindings are ignored.
conflicts: Vec<BindingConflict>§conflicts_truncated: boolTrait Implementations§
Source§impl Clone for ConfigValidation
impl Clone for ConfigValidation
Source§fn clone(&self) -> ConfigValidation
fn clone(&self) -> ConfigValidation
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 ConfigValidation
impl Debug for ConfigValidation
Source§impl PartialEq for ConfigValidation
impl PartialEq for ConfigValidation
impl StructuralPartialEq for ConfigValidation
Auto Trait Implementations§
impl Freeze for ConfigValidation
impl RefUnwindSafe for ConfigValidation
impl Send for ConfigValidation
impl Sync for ConfigValidation
impl Unpin for ConfigValidation
impl UnwindSafe for ConfigValidation
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