#[non_exhaustive]pub struct DatabaseFlags {
pub name: String,
pub value: String,
/* private fields */
}
Expand description
Database flags for Cloud SQL instances.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
value: String
The value of the flag. Boolean flags are set to on
for true
and off
for false. This field must be omitted if the flag
doesn’t take a value.
Implementations§
Trait Implementations§
Source§impl Clone for DatabaseFlags
impl Clone for DatabaseFlags
Source§fn clone(&self) -> DatabaseFlags
fn clone(&self) -> DatabaseFlags
Returns a duplicate 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 Message for DatabaseFlags
impl Message for DatabaseFlags
Source§impl PartialEq for DatabaseFlags
impl PartialEq for DatabaseFlags
impl StructuralPartialEq for DatabaseFlags
Auto Trait Implementations§
impl Freeze for DatabaseFlags
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