Struct google_datamigration1::api::PostgreSqlConnectionProfile[][src]

pub struct PostgreSqlConnectionProfile {
    pub cloud_sql_id: Option<String>,
    pub host: Option<String>,
    pub password: Option<String>,
    pub password_set: Option<bool>,
    pub port: Option<i32>,
    pub ssl: Option<SslConfig>,
    pub username: Option<String>,
}

Specifies connection parameters required specifically for PostgreSQL databases.

This type is not used in any activity, and only used as part of another schema.

Fields

cloud_sql_id: Option<String>

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

host: Option<String>

Required. The IP or hostname of the source PostgreSQL database.

password: Option<String>

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

password_set: Option<bool>

Output only. Indicates If this connection profile password is stored.

port: Option<i32>

Required. The network port of the source PostgreSQL database.

ssl: Option<SslConfig>

SSL configuration for the destination to connect to the source database.

username: Option<String>

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Trait Implementations

impl Clone for PostgreSqlConnectionProfile[src]

impl Debug for PostgreSqlConnectionProfile[src]

impl Default for PostgreSqlConnectionProfile[src]

impl<'de> Deserialize<'de> for PostgreSqlConnectionProfile[src]

impl Part for PostgreSqlConnectionProfile[src]

impl Serialize for PostgreSqlConnectionProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for PostgreSqlConnectionProfile[src]

impl Send for PostgreSqlConnectionProfile[src]

impl Sync for PostgreSqlConnectionProfile[src]

impl Unpin for PostgreSqlConnectionProfile[src]

impl UnwindSafe for PostgreSqlConnectionProfile[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.