Struct google_memcache1::api::NodeConfig
source · pub struct NodeConfig {
pub cpu_count: Option<i32>,
pub memory_size_mb: Option<i32>,
}
Expand description
Configuration for a Memcached Node.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cpu_count: Option<i32>
Required. Number of cpus per Memcached node.
memory_size_mb: Option<i32>
Required. Memory size in MiB for each Memcached node.
Trait Implementations§
source§impl Clone for NodeConfig
impl Clone for NodeConfig
source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
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 NodeConfig
impl Debug for NodeConfig
source§impl Default for NodeConfig
impl Default for NodeConfig
source§fn default() -> NodeConfig
fn default() -> NodeConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeConfig
impl<'de> Deserialize<'de> for NodeConfig
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 NodeConfig
impl Serialize for NodeConfig
impl Part for NodeConfig
Auto Trait Implementations§
impl RefUnwindSafe for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl UnwindSafe for NodeConfig
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