#[non_exhaustive]pub struct ValidationDatabaseMatch {
pub name: String,
pub state: Option<String>,
}Expand description
A database <name> entry of a validation-database-instance, with the validation state it matches.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§state: Option<String>"valid", "invalid" or "unknown".
Trait Implementations§
Source§impl Clone for ValidationDatabaseMatch
impl Clone for ValidationDatabaseMatch
Source§impl Debug for ValidationDatabaseMatch
impl Debug for ValidationDatabaseMatch
impl Eq for ValidationDatabaseMatch
Source§impl PartialEq for ValidationDatabaseMatch
impl PartialEq for ValidationDatabaseMatch
impl StructuralPartialEq for ValidationDatabaseMatch
Auto Trait Implementations§
impl Forget for ValidationDatabaseMatch
impl Freeze for ValidationDatabaseMatch
impl Move for ValidationDatabaseMatch
impl RefUnwindSafe for ValidationDatabaseMatch
impl Send for ValidationDatabaseMatchwhere
RawVecInner: Send,
impl Sync for ValidationDatabaseMatchwhere
RawVecInner: Sync,
impl Unpin for ValidationDatabaseMatch
impl UnsafeUnpin for ValidationDatabaseMatch
impl UnwindSafe for ValidationDatabaseMatchwhere
RawVecInner: UnwindSafe,
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