#[non_exhaustive]pub struct GeminiInstanceConfig {
pub entitled: Option<bool>,
pub google_vacuum_mgmt_enabled: Option<bool>,
pub oom_session_cancel_enabled: Option<bool>,
pub active_query_enabled: Option<bool>,
pub index_advisor_enabled: Option<bool>,
pub flag_recommender_enabled: Option<bool>,
/* private fields */
}Expand description
Gemini instance configuration.
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.entitled: Option<bool>Output only. Whether Gemini is enabled.
google_vacuum_mgmt_enabled: Option<bool>Output only. Whether the vacuum management is enabled.
oom_session_cancel_enabled: Option<bool>Output only. Whether canceling the out-of-memory (OOM) session is enabled.
active_query_enabled: Option<bool>Output only. Whether the active query is enabled.
index_advisor_enabled: Option<bool>Output only. Whether the index advisor is enabled.
flag_recommender_enabled: Option<bool>Output only. Whether the flag recommender is enabled.
Implementations§
Source§impl GeminiInstanceConfig
impl GeminiInstanceConfig
pub fn new() -> Self
Sourcepub fn set_google_vacuum_mgmt_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_google_vacuum_mgmt_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of google_vacuum_mgmt_enabled.
Sourcepub fn set_oom_session_cancel_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_oom_session_cancel_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of oom_session_cancel_enabled.
Sourcepub fn set_active_query_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_active_query_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of active_query_enabled.
Sourcepub fn set_index_advisor_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_index_advisor_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of index_advisor_enabled.
Sourcepub fn set_flag_recommender_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_flag_recommender_enabled<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of flag_recommender_enabled.
Trait Implementations§
Source§impl Clone for GeminiInstanceConfig
impl Clone for GeminiInstanceConfig
Source§fn clone(&self) -> GeminiInstanceConfig
fn clone(&self) -> GeminiInstanceConfig
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 GeminiInstanceConfig
impl Debug for GeminiInstanceConfig
Source§impl Default for GeminiInstanceConfig
impl Default for GeminiInstanceConfig
Source§fn default() -> GeminiInstanceConfig
fn default() -> GeminiInstanceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeminiInstanceConfigwhere
GeminiInstanceConfig: Default,
impl<'de> Deserialize<'de> for GeminiInstanceConfigwhere
GeminiInstanceConfig: Default,
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 Message for GeminiInstanceConfig
impl Message for GeminiInstanceConfig
Source§impl PartialEq for GeminiInstanceConfig
impl PartialEq for GeminiInstanceConfig
Source§impl Serialize for GeminiInstanceConfig
impl Serialize for GeminiInstanceConfig
impl StructuralPartialEq for GeminiInstanceConfig
Auto Trait Implementations§
impl Freeze for GeminiInstanceConfig
impl RefUnwindSafe for GeminiInstanceConfig
impl Send for GeminiInstanceConfig
impl Sync for GeminiInstanceConfig
impl Unpin for GeminiInstanceConfig
impl UnwindSafe for GeminiInstanceConfig
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