#[non_exhaustive]pub struct ValidationDatabaseInstance {
pub state: Option<String>,
pub databases: Vec<ValidationDatabaseMatch>,
}Expand description
The validation-database-instance condition of Junos OS Evolved.
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.state: Option<String>The state that applies whichever database matched: "valid", "invalid" or "unknown".
databases: Vec<ValidationDatabaseMatch>Trait Implementations§
Source§impl Clone for ValidationDatabaseInstance
impl Clone for ValidationDatabaseInstance
Source§impl Debug for ValidationDatabaseInstance
impl Debug for ValidationDatabaseInstance
Source§impl Default for ValidationDatabaseInstance
impl Default for ValidationDatabaseInstance
impl Eq for ValidationDatabaseInstance
impl StructuralPartialEq for ValidationDatabaseInstance
Auto Trait Implementations§
impl Forget for ValidationDatabaseInstance
impl Freeze for ValidationDatabaseInstancewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ValidationDatabaseMatch>: Freeze,
impl Move for ValidationDatabaseInstance
impl RefUnwindSafe for ValidationDatabaseInstance
impl Send for ValidationDatabaseInstancewhere
RawVecInner: Send,
impl Sync for ValidationDatabaseInstancewhere
RawVecInner: Sync,
impl Unpin for ValidationDatabaseInstance
impl UnsafeUnpin for ValidationDatabaseInstancewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ValidationDatabaseMatch>: UnsafeUnpin,
impl UnwindSafe for ValidationDatabaseInstancewhere
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