Enum gapi_grpc::google::cloud::sql::v1beta4::SqlIpAddressType[][src]

#[repr(i32)]pub enum SqlIpAddressType {
    Unspecified,
    Primary,
    Outgoing,
    Private,
    Migrated1stGen,
}

Variants

Unspecified

This is an unknown IP address type.

Primary

IP address the customer is supposed to connect to. Usually this is the load balancer’s IP address

Outgoing

Source IP address of the connection a read replica establishes to its external primary instance. This IP address can be allowlisted by the customer in case it has a firewall that filters incoming connection to its on premises primary instance.

Private

Private IP used when using private IPs and network peering.

Migrated1stGen

V1 IP of a migrated instance. We want the user to decommission this IP as soon as the migration is complete. Note: V1 instances with V1 ip addresses will be counted as PRIMARY.

Implementations

impl SqlIpAddressType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of SqlIpAddressType.

pub fn from_i32(value: i32) -> Option<SqlIpAddressType>[src]

Converts an i32 to a SqlIpAddressType, or None if value is not a valid variant.

Trait Implementations

impl Clone for SqlIpAddressType[src]

impl Copy for SqlIpAddressType[src]

impl Debug for SqlIpAddressType[src]

impl Default for SqlIpAddressType[src]

impl Eq for SqlIpAddressType[src]

impl From<SqlIpAddressType> for i32[src]

impl Hash for SqlIpAddressType[src]

impl Ord for SqlIpAddressType[src]

impl PartialEq<SqlIpAddressType> for SqlIpAddressType[src]

impl PartialOrd<SqlIpAddressType> for SqlIpAddressType[src]

impl StructuralEq for SqlIpAddressType[src]

impl StructuralPartialEq for SqlIpAddressType[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlIpAddressType

impl Send for SqlIpAddressType

impl Sync for SqlIpAddressType

impl Unpin for SqlIpAddressType

impl UnwindSafe for SqlIpAddressType

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]