pub struct ThemeResolutionError {
pub missing_fields: Vec<String>,
}Expand description
Error returned when theme resolution finds missing fields.
Contains a list of field paths (e.g., "defaults.accent", "button.font.family")
that were still None after resolution. Used by validate() to report exactly
which fields need to be supplied before a crate::model::ResolvedThemeVariant can be built.
Fields§
§missing_fields: Vec<String>Dot-separated paths of fields that remained None after resolution.
Trait Implementations§
Source§impl Clone for ThemeResolutionError
impl Clone for ThemeResolutionError
Source§fn clone(&self) -> ThemeResolutionError
fn clone(&self) -> ThemeResolutionError
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 ThemeResolutionError
impl Debug for ThemeResolutionError
Source§impl Display for ThemeResolutionError
impl Display for ThemeResolutionError
Source§impl Error for ThemeResolutionError
impl Error for ThemeResolutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ThemeResolutionError
impl RefUnwindSafe for ThemeResolutionError
impl Send for ThemeResolutionError
impl Sync for ThemeResolutionError
impl Unpin for ThemeResolutionError
impl UnsafeUnpin for ThemeResolutionError
impl UnwindSafe for ThemeResolutionError
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