[−][src]Struct k8s_openapi::api::apps::v1beta1::ScaleStatus
ScaleStatus represents the current status of a scale subresource.
Fields
replicas: i32
actual number of observed instances of the scaled object.
selector: Option<BTreeMap<String, String>>
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
target_selector: Option<String>
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
Trait Implementations
impl Default for ScaleStatus
[src]
fn default() -> ScaleStatus
[src]
impl Clone for ScaleStatus
[src]
fn clone(&self) -> ScaleStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ScaleStatus> for ScaleStatus
[src]
fn eq(&self, other: &ScaleStatus) -> bool
[src]
fn ne(&self, other: &ScaleStatus) -> bool
[src]
impl Debug for ScaleStatus
[src]
impl Serialize for ScaleStatus
[src]
impl<'de> Deserialize<'de> for ScaleStatus
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for ScaleStatus
impl Sync for ScaleStatus
impl Send for ScaleStatus
impl UnwindSafe for ScaleStatus
impl RefUnwindSafe for ScaleStatus
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,