#[non_exhaustive]pub struct SqlOutOfDiskReport {
pub sql_out_of_disk_state: Option<SqlOutOfDiskState>,
pub sql_min_recommended_increase_size_gb: Option<i32>,
/* private fields */
}
Expand description
This message wraps up the information written by out-of-disk detection job.
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.sql_out_of_disk_state: Option<SqlOutOfDiskState>
This field represents the state generated by the proactive database wellness job for OutOfDisk issues.
- Writers:
- the proactive database wellness job for OOD.
- Readers:
- the proactive database wellness job
sql_min_recommended_increase_size_gb: Option<i32>
The minimum recommended increase size in GigaBytes This field is consumed by the frontend
- Writers:
- the proactive database wellness job for OOD.
- Readers:
Implementations§
Source§impl SqlOutOfDiskReport
impl SqlOutOfDiskReport
pub fn new() -> Self
Sourcepub fn set_sql_out_of_disk_state<T>(self, v: T) -> Selfwhere
T: Into<SqlOutOfDiskState>,
pub fn set_sql_out_of_disk_state<T>(self, v: T) -> Selfwhere
T: Into<SqlOutOfDiskState>,
Sets the value of sql_out_of_disk_state.
Sourcepub fn set_or_clear_sql_out_of_disk_state<T>(self, v: Option<T>) -> Selfwhere
T: Into<SqlOutOfDiskState>,
pub fn set_or_clear_sql_out_of_disk_state<T>(self, v: Option<T>) -> Selfwhere
T: Into<SqlOutOfDiskState>,
Sets or clears the value of sql_out_of_disk_state.
Sourcepub fn set_sql_min_recommended_increase_size_gb<T>(self, v: T) -> Self
pub fn set_sql_min_recommended_increase_size_gb<T>(self, v: T) -> Self
Sets the value of sql_min_recommended_increase_size_gb.
Sourcepub fn set_or_clear_sql_min_recommended_increase_size_gb<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_sql_min_recommended_increase_size_gb<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of sql_min_recommended_increase_size_gb.
Trait Implementations§
Source§impl Clone for SqlOutOfDiskReport
impl Clone for SqlOutOfDiskReport
Source§fn clone(&self) -> SqlOutOfDiskReport
fn clone(&self) -> SqlOutOfDiskReport
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 SqlOutOfDiskReport
impl Debug for SqlOutOfDiskReport
Source§impl Default for SqlOutOfDiskReport
impl Default for SqlOutOfDiskReport
Source§fn default() -> SqlOutOfDiskReport
fn default() -> SqlOutOfDiskReport
Returns the “default value” for a type. Read more
Source§impl Message for SqlOutOfDiskReport
impl Message for SqlOutOfDiskReport
Source§impl PartialEq for SqlOutOfDiskReport
impl PartialEq for SqlOutOfDiskReport
impl StructuralPartialEq for SqlOutOfDiskReport
Auto Trait Implementations§
impl Freeze for SqlOutOfDiskReport
impl RefUnwindSafe for SqlOutOfDiskReport
impl Send for SqlOutOfDiskReport
impl Sync for SqlOutOfDiskReport
impl Unpin for SqlOutOfDiskReport
impl UnwindSafe for SqlOutOfDiskReport
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