Struct gapi_grpc::google::cloud::sql::v1beta4::IpMapping[][src]

pub struct IpMapping {
    pub type: i32,
    pub ip_address: String,
    pub time_to_retire: Option<Timestamp>,
}

Database instance IP Mapping.

Fields

type: i32

The type of this IP address. A PRIMARY address is a public address that can accept incoming connections. A PRIVATE address is a private address that can accept incoming connections. An OUTGOING address is the source address of connections originating from the instance, if supported.

ip_address: String

The IP address assigned.

time_to_retire: Option<Timestamp>

The due time for this IP to be retired in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.

Implementations

impl IpMapping[src]

pub fn type(&self) -> SqlIpAddressType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: SqlIpAddressType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for IpMapping[src]

impl Debug for IpMapping[src]

impl Default for IpMapping[src]

impl Message for IpMapping[src]

impl PartialEq<IpMapping> for IpMapping[src]

impl StructuralPartialEq for IpMapping[src]

Auto Trait Implementations

impl RefUnwindSafe for IpMapping

impl Send for IpMapping

impl Sync for IpMapping

impl Unpin for IpMapping

impl UnwindSafe for IpMapping

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> 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]