pub struct UpdateDb {
pub password: Option<String>,
pub name: Option<String>,
pub preset_id: Option<i32>,
pub config_parameters: Option<Box<ConfigParameters>>,
pub is_external_ip: Option<bool>,
}Expand description
UpdateDb : Дополнительные параметры конфигурации базы данных.
Fields§
§password: Option<String>Пароль для подключения к базе данных.
name: Option<String>Название базы данных.
preset_id: Option<i32>ID тарифа.
config_parameters: Option<Box<ConfigParameters>>§is_external_ip: Option<bool>Использовать или нет внешний IP.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateDb
impl<'de> Deserialize<'de> for UpdateDb
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
impl StructuralPartialEq for UpdateDb
Auto Trait Implementations§
impl Freeze for UpdateDb
impl RefUnwindSafe for UpdateDb
impl Send for UpdateDb
impl Sync for UpdateDb
impl Unpin for UpdateDb
impl UnsafeUnpin for UpdateDb
impl UnwindSafe for UpdateDb
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