pub struct ValidationWarning {
pub endpoint: UnsupportedEndpoint,
pub reason: String,
}Expand description
Warning about skipped functionality
Fields§
§endpoint: UnsupportedEndpointThe endpoint that was skipped
reason: StringHuman-readable reason for skipping
Implementations§
Source§impl ValidationWarning
impl ValidationWarning
Sourcepub fn should_skip_endpoint(&self) -> bool
pub fn should_skip_endpoint(&self) -> bool
Determines if this warning should result in a skipped endpoint
Sourcepub fn to_skip_endpoint(&self) -> Option<(String, String)>
pub fn to_skip_endpoint(&self) -> Option<(String, String)>
Converts to a skipped endpoint tuple if applicable
Trait Implementations§
Source§impl Clone for ValidationWarning
impl Clone for ValidationWarning
Source§fn clone(&self) -> ValidationWarning
fn clone(&self) -> ValidationWarning
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 ValidationWarning
impl RefUnwindSafe for ValidationWarning
impl Send for ValidationWarning
impl Sync for ValidationWarning
impl Unpin for ValidationWarning
impl UnsafeUnpin for ValidationWarning
impl UnwindSafe for ValidationWarning
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