#[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: Into<Option<SqlOutOfDiskState>>>(
self,
v: T,
) -> Self
pub fn set_sql_out_of_disk_state<T: Into<Option<SqlOutOfDiskState>>>( self, v: T, ) -> Self
Sets the value of sql_out_of_disk_state.
Sourcepub fn set_sql_min_recommended_increase_size_gb<T: Into<Option<i32>>>(
self,
v: T,
) -> Self
pub fn set_sql_min_recommended_increase_size_gb<T: Into<Option<i32>>>( self, v: T, ) -> Self
Sets 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 copy 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<'de> Deserialize<'de> for SqlOutOfDiskReportwhere
SqlOutOfDiskReport: Default,
impl<'de> Deserialize<'de> for SqlOutOfDiskReportwhere
SqlOutOfDiskReport: Default,
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
Source§impl Message for SqlOutOfDiskReport
impl Message for SqlOutOfDiskReport
Source§impl PartialEq for SqlOutOfDiskReport
impl PartialEq for SqlOutOfDiskReport
Source§impl Serialize for SqlOutOfDiskReport
impl Serialize 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