pub struct LawViolation { /* private fields */ }Expand description
A precise admission refusal.
Implementations§
Source§impl LawViolation
impl LawViolation
Trait Implementations§
Source§impl Clone for LawViolation
impl Clone for LawViolation
Source§fn clone(&self) -> LawViolation
fn clone(&self) -> LawViolation
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 LawViolation
impl Debug for LawViolation
Source§impl Display for LawViolation
impl Display for LawViolation
impl Eq for LawViolation
Source§impl Error for LawViolation
impl Error for LawViolation
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()
Source§impl PartialEq for LawViolation
impl PartialEq for LawViolation
impl StructuralPartialEq for LawViolation
Auto Trait Implementations§
impl Freeze for LawViolation
impl RefUnwindSafe for LawViolation
impl Send for LawViolation
impl Sync for LawViolation
impl Unpin for LawViolation
impl UnsafeUnpin for LawViolation
impl UnwindSafe for LawViolation
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