[][src]Struct google_sql1_beta4::LocationPreference

pub struct LocationPreference {
    pub kind: Option<String>,
    pub follow_gae_application: Option<String>,
    pub zone: Option<String>,
}

Preferred location. This specifies where a Cloud SQL instance should preferably be located, either in a specific Compute Engine zone, or co-located with an App Engine application. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.

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

Fields

kind: Option<String>

This is always sql#locationPreference.

follow_gae_application: Option<String>

The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.

zone: Option<String>

The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b, etc.).

Trait Implementations

impl Clone for LocationPreference[src]

impl Debug for LocationPreference[src]

impl Default for LocationPreference[src]

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

impl Part for LocationPreference[src]

impl Serialize for LocationPreference[src]

Auto Trait Implementations

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, 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.

impl<T> Typeable for T where
    T: Any