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 ScaleSpecfn clone(&self) -> ScaleSpec[src]
fn clone(&self) -> ScaleSpecReturns 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 ScaleSpecfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ScaleSpec[src]
impl Default for ScaleSpecimpl PartialEq for ScaleSpec[src]
impl PartialEq for ScaleSpecfn eq(&self, other: &ScaleSpec) -> bool[src]
fn eq(&self, other: &ScaleSpec) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for ScaleSpec[src]
impl<'de> Deserialize<'de> for ScaleSpecfn 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