pub struct UpdateCluster {
pub name: Option<String>,
pub preset_id: Option<i32>,
pub description: Option<String>,
pub is_enabled_public_network: Option<bool>,
}Fields§
§name: Option<String>Название кластера базы данных.
preset_id: Option<i32>ID тарифа.
description: Option<String>Описание кластера базы данных
is_enabled_public_network: Option<bool>Доступность публичного IP-адреса
Implementations§
Source§impl UpdateCluster
impl UpdateCluster
pub fn new() -> UpdateCluster
Trait Implementations§
Source§impl Clone for UpdateCluster
impl Clone for UpdateCluster
Source§fn clone(&self) -> UpdateCluster
fn clone(&self) -> UpdateCluster
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateCluster
impl Debug for UpdateCluster
Source§impl Default for UpdateCluster
impl Default for UpdateCluster
Source§fn default() -> UpdateCluster
fn default() -> UpdateCluster
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCluster
impl<'de> Deserialize<'de> for UpdateCluster
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 PartialEq for UpdateCluster
impl PartialEq for UpdateCluster
Source§fn eq(&self, other: &UpdateCluster) -> bool
fn eq(&self, other: &UpdateCluster) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateCluster
impl Serialize for UpdateCluster
impl StructuralPartialEq for UpdateCluster
Auto Trait Implementations§
impl Freeze for UpdateCluster
impl RefUnwindSafe for UpdateCluster
impl Send for UpdateCluster
impl Sync for UpdateCluster
impl Unpin for UpdateCluster
impl UnsafeUnpin for UpdateCluster
impl UnwindSafe for UpdateCluster
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