pub enum Warning {
ContainsEscapeCodes,
Decode(Warning),
PreferUpperCase,
InvalidDay,
InvalidType,
}Variants§
ContainsEscapeCodes
Neither the day of the week does not need to have escape codes.
Decode(Warning)
The field at the path could not be decoded.
PreferUpperCase
Each day of the week should be uppercase.
InvalidDay
The value is not a valid day.
InvalidType
The JSON value given is not a string.
Trait Implementations§
Source§impl Ord for Warning
impl Ord for Warning
Source§impl PartialOrd for Warning
impl PartialOrd for Warning
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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