#[non_exhaustive]pub struct SqlInstancesGetDiskShrinkConfigResponse {
pub kind: String,
pub minimal_target_size_gb: i64,
pub message: String,
/* private fields */
}
Expand description
Instance get disk shrink config response.
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.kind: String
This is always sql#getDiskShrinkConfig
.
minimal_target_size_gb: i64
The minimum size to which a disk can be shrunk in GigaBytes.
message: String
Additional message to customers.
Implementations§
Source§impl SqlInstancesGetDiskShrinkConfigResponse
impl SqlInstancesGetDiskShrinkConfigResponse
pub fn new() -> Self
Sourcepub fn set_minimal_target_size_gb<T: Into<i64>>(self, v: T) -> Self
pub fn set_minimal_target_size_gb<T: Into<i64>>(self, v: T) -> Self
Sets the value of minimal_target_size_gb.
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Trait Implementations§
Source§impl Clone for SqlInstancesGetDiskShrinkConfigResponse
impl Clone for SqlInstancesGetDiskShrinkConfigResponse
Source§fn clone(&self) -> SqlInstancesGetDiskShrinkConfigResponse
fn clone(&self) -> SqlInstancesGetDiskShrinkConfigResponse
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 Default for SqlInstancesGetDiskShrinkConfigResponse
impl Default for SqlInstancesGetDiskShrinkConfigResponse
Source§fn default() -> SqlInstancesGetDiskShrinkConfigResponse
fn default() -> SqlInstancesGetDiskShrinkConfigResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for SqlInstancesGetDiskShrinkConfigResponse
impl PartialEq for SqlInstancesGetDiskShrinkConfigResponse
Source§fn eq(&self, other: &SqlInstancesGetDiskShrinkConfigResponse) -> bool
fn eq(&self, other: &SqlInstancesGetDiskShrinkConfigResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SqlInstancesGetDiskShrinkConfigResponse
Auto Trait Implementations§
impl Freeze for SqlInstancesGetDiskShrinkConfigResponse
impl RefUnwindSafe for SqlInstancesGetDiskShrinkConfigResponse
impl Send for SqlInstancesGetDiskShrinkConfigResponse
impl Sync for SqlInstancesGetDiskShrinkConfigResponse
impl Unpin for SqlInstancesGetDiskShrinkConfigResponse
impl UnwindSafe for SqlInstancesGetDiskShrinkConfigResponse
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