pub struct ValidationWarning<'a> { /* private fields */ }
Implementations§
source§impl<'a> ValidationWarning<'a>
impl<'a> ValidationWarning<'a>
pub fn location(&self) -> &'a PolicyID
pub fn kind(&self) -> &ValidationWarningKind
pub fn to_kind_and_location(self) -> (&'a PolicyID, ValidationWarningKind)
Trait Implementations§
source§impl<'a> Clone for ValidationWarning<'a>
impl<'a> Clone for ValidationWarning<'a>
source§fn clone(&self) -> ValidationWarning<'a>
fn clone(&self) -> ValidationWarning<'a>
Returns a copy 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<'a> Debug for ValidationWarning<'a>
impl<'a> Debug for ValidationWarning<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ValidationWarning<'a>
impl<'a> Send for ValidationWarning<'a>
impl<'a> Sync for ValidationWarning<'a>
impl<'a> Unpin for ValidationWarning<'a>
impl<'a> UnwindSafe for ValidationWarning<'a>
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