Struct google_sql1_beta4::api::DatabaseFlags
source · pub struct DatabaseFlags {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Database flags for Cloud SQL instances.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags should be specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
value: Option<String>
The value of the flag. Booleans should be set to on
for true
and off
for false. This field must be omitted if the flag
doesn’t take a value.
Trait Implementations§
source§impl Clone for DatabaseFlags
impl Clone for DatabaseFlags
source§fn clone(&self) -> DatabaseFlags
fn clone(&self) -> DatabaseFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatabaseFlags
impl Debug for DatabaseFlags
source§impl Default for DatabaseFlags
impl Default for DatabaseFlags
source§fn default() -> DatabaseFlags
fn default() -> DatabaseFlags
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DatabaseFlags
impl<'de> Deserialize<'de> for DatabaseFlags
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DatabaseFlags
impl Serialize for DatabaseFlags
impl Part for DatabaseFlags
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseFlags
impl Send for DatabaseFlags
impl Sync for DatabaseFlags
impl Unpin for DatabaseFlags
impl UnwindSafe for DatabaseFlags
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more