Enum gapi_grpc::google::cloud::sql::v1beta4::SqlInstanceType [−][src]
pub enum SqlInstanceType { Unspecified, CloudSqlInstance, OnPremisesInstance, ReadReplicaInstance, }
Variants
This is an unknown Cloud SQL instance type.
A regular Cloud SQL instance.
An instance running on the customer’s premises that is not managed by Cloud SQL.
A Cloud SQL instance acting as a read-replica.
Implementations
impl SqlInstanceType
[src][−]
pub fn is_valid(value: i32) -> bool
[src][−]
Returns true
if value
is a variant of SqlInstanceType
.
pub fn from_i32(value: i32) -> Option<SqlInstanceType>
[src][−]
Converts an i32
to a SqlInstanceType
, or None
if value
is not a valid variant.
Trait Implementations
impl Clone for SqlInstanceType
[src][+]
impl Copy for SqlInstanceType
[src]
impl Debug for SqlInstanceType
[src][+]
impl Default for SqlInstanceType
[src][+]
impl Eq for SqlInstanceType
[src]
impl From<SqlInstanceType> for i32
[src][+]
impl Hash for SqlInstanceType
[src][+]
impl Ord for SqlInstanceType
[src][+]
impl PartialEq<SqlInstanceType> for SqlInstanceType
[src][+]
impl PartialOrd<SqlInstanceType> for SqlInstanceType
[src][+]
impl StructuralEq for SqlInstanceType
[src]
impl StructuralPartialEq for SqlInstanceType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SqlInstanceType
impl Send for SqlInstanceType
impl Sync for SqlInstanceType
impl Unpin for SqlInstanceType
impl UnwindSafe for SqlInstanceType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,