pub struct CompileTimeError {
pub field: String,
pub message: String,
pub suggestion: Option<String>,
}Expand description
Compile-time validation error
Fields§
§field: String§message: String§suggestion: Option<String>Trait Implementations§
Source§impl Clone for CompileTimeError
impl Clone for CompileTimeError
Source§fn clone(&self) -> CompileTimeError
fn clone(&self) -> CompileTimeError
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 moreAuto Trait Implementations§
impl Freeze for CompileTimeError
impl RefUnwindSafe for CompileTimeError
impl Send for CompileTimeError
impl Sync for CompileTimeError
impl Unpin for CompileTimeError
impl UnsafeUnpin for CompileTimeError
impl UnwindSafe for CompileTimeError
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