Struct k8s_openapi::v1_10::api::extensions::v1beta1::ScaleSpec [−][src]
describes the attributes of a scale subresource
Fields
replicas: Option<i32>
desired number of instances for the scaled object.
Trait Implementations
impl Clone for ScaleSpec
[src]
impl Clone for ScaleSpec
fn clone(&self) -> ScaleSpec
[src]
fn clone(&self) -> ScaleSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ScaleSpec
[src]
impl Debug for ScaleSpec
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ScaleSpec
[src]
impl Default for ScaleSpec
impl PartialEq for ScaleSpec
[src]
impl PartialEq for ScaleSpec
fn eq(&self, other: &ScaleSpec) -> bool
[src]
fn eq(&self, other: &ScaleSpec) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ScaleSpec) -> bool
[src]
fn ne(&self, other: &ScaleSpec) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for ScaleSpec
[src]
impl<'de> Deserialize<'de> for ScaleSpec
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ScaleSpec
[src]
impl Serialize for ScaleSpec