pub struct DiagnosticRequest {
pub checks: Option<Vec<String>>,
pub node_uids: Option<Vec<u32>>,
pub bdb_uids: Option<Vec<u32>>,
}
Expand description
Diagnostic check request
Fields§
§checks: Option<Vec<String>>
Specific diagnostic checks to run (if not specified, runs all checks)
node_uids: Option<Vec<u32>>
Node UIDs to run diagnostics on (if not specified, runs on all nodes)
bdb_uids: Option<Vec<u32>>
Database UIDs to run diagnostics on (if not specified, runs on all databases)
Implementations§
Source§impl DiagnosticRequest
impl DiagnosticRequest
Sourcepub fn builder() -> DiagnosticRequestBuilder<((), (), ())>
pub fn builder() -> DiagnosticRequestBuilder<((), (), ())>
Create a builder for building DiagnosticRequest
.
On the builder, call .checks(...)
(optional), .node_uids(...)
(optional), .bdb_uids(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DiagnosticRequest
.
Trait Implementations§
Source§impl Clone for DiagnosticRequest
impl Clone for DiagnosticRequest
Source§fn clone(&self) -> DiagnosticRequest
fn clone(&self) -> DiagnosticRequest
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 moreSource§impl Debug for DiagnosticRequest
impl Debug for DiagnosticRequest
Source§impl<'de> Deserialize<'de> for DiagnosticRequest
impl<'de> Deserialize<'de> for DiagnosticRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiagnosticRequest
impl RefUnwindSafe for DiagnosticRequest
impl Send for DiagnosticRequest
impl Sync for DiagnosticRequest
impl Unpin for DiagnosticRequest
impl UnwindSafe for DiagnosticRequest
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