pub struct PostgresService {Show 16 fields
pub connection_string: String,
pub created_at: PgCreatedAtProperty,
pub ha_type: PgHaType,
pub hostname: String,
pub id: PgIdProperty,
pub is_primary: PgIsPrimaryProperty,
pub name: PgNameProperty,
pub password: String,
pub postgres_version: PgVersion,
pub provider: PgProvider,
pub region: PgRegion,
pub size: PgSize,
pub state: PgStateProperty,
pub storage_size: PgStorageSize,
pub tags: PgTags,
pub username: String,
}Expand description
PostgresService from the ClickHouse Cloud API.
Fields§
§connection_string: String§created_at: PgCreatedAtProperty§ha_type: PgHaType§hostname: String§id: PgIdProperty§is_primary: PgIsPrimaryProperty§name: PgNameProperty§password: String§postgres_version: PgVersion§provider: PgProvider§region: PgRegion§size: PgSize§state: PgStateProperty§storage_size: PgStorageSize§username: StringTrait Implementations§
Source§impl Clone for PostgresService
impl Clone for PostgresService
Source§fn clone(&self) -> PostgresService
fn clone(&self) -> PostgresService
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 PostgresService
impl Debug for PostgresService
Source§impl Default for PostgresService
impl Default for PostgresService
Source§fn default() -> PostgresService
fn default() -> PostgresService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresService
impl<'de> Deserialize<'de> for PostgresService
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 PostgresService
impl PartialEq for PostgresService
Source§fn eq(&self, other: &PostgresService) -> bool
fn eq(&self, other: &PostgresService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PostgresService
impl Serialize for PostgresService
impl StructuralPartialEq for PostgresService
Auto Trait Implementations§
impl Freeze for PostgresService
impl RefUnwindSafe for PostgresService
impl Send for PostgresService
impl Sync for PostgresService
impl Unpin for PostgresService
impl UnsafeUnpin for PostgresService
impl UnwindSafe for PostgresService
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