pub struct DatabaseType {
pub name: String,
pub version: String,
pub type: String,
pub is_available_replication: bool,
pub is_deprecated: bool,
pub requirements: Option<Box<DatabaseTypeRequirements>>,
}Expand description
DatabaseType : Тип кластера базы данных
Fields§
§name: StringНазвание кластера базы данных.
version: StringВерсия кластера базы данных.
type: StringТип кластера базы данных. Передается при создании кластера в поле type
is_available_replication: boolПоддерживает ли база данных репликацию.
is_deprecated: boolУстарела ли версия базы.
requirements: Option<Box<DatabaseTypeRequirements>>Implementations§
Trait Implementations§
Source§impl Clone for DatabaseType
impl Clone for DatabaseType
Source§fn clone(&self) -> DatabaseType
fn clone(&self) -> DatabaseType
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 DatabaseType
impl Debug for DatabaseType
Source§impl Default for DatabaseType
impl Default for DatabaseType
Source§fn default() -> DatabaseType
fn default() -> DatabaseType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseType
impl<'de> Deserialize<'de> for DatabaseType
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 DatabaseType
impl PartialEq for DatabaseType
Source§fn eq(&self, other: &DatabaseType) -> bool
fn eq(&self, other: &DatabaseType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabaseType
impl Serialize for DatabaseType
impl StructuralPartialEq for DatabaseType
Auto Trait Implementations§
impl Freeze for DatabaseType
impl RefUnwindSafe for DatabaseType
impl Send for DatabaseType
impl Sync for DatabaseType
impl Unpin for DatabaseType
impl UnsafeUnpin for DatabaseType
impl UnwindSafe for DatabaseType
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