pub struct BoxAutoscaler {
pub api_version: String,
pub kind: String,
pub name: String,
pub namespace: String,
pub labels: HashMap<String, String>,
pub spec: BoxAutoscalerSpec,
pub status: BoxAutoscalerStatus,
}Expand description
Full BoxAutoscaler resource (spec + status + metadata).
Fields§
§api_version: StringAPI version.
kind: StringResource kind.
name: StringResource name.
namespace: StringNamespace.
labels: HashMap<String, String>Labels.
spec: BoxAutoscalerSpecSpec.
status: BoxAutoscalerStatusStatus.
Implementations§
Source§impl BoxAutoscaler
impl BoxAutoscaler
Sourcepub fn new(name: &str, spec: BoxAutoscalerSpec) -> Self
pub fn new(name: &str, spec: BoxAutoscalerSpec) -> Self
Create a new BoxAutoscaler resource.
Trait Implementations§
Source§impl Clone for BoxAutoscaler
impl Clone for BoxAutoscaler
Source§fn clone(&self) -> BoxAutoscaler
fn clone(&self) -> BoxAutoscaler
Returns a duplicate 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 BoxAutoscaler
impl Debug for BoxAutoscaler
Source§impl<'de> Deserialize<'de> for BoxAutoscaler
impl<'de> Deserialize<'de> for BoxAutoscaler
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
Auto Trait Implementations§
impl Freeze for BoxAutoscaler
impl RefUnwindSafe for BoxAutoscaler
impl Send for BoxAutoscaler
impl Sync for BoxAutoscaler
impl Unpin for BoxAutoscaler
impl UnsafeUnpin for BoxAutoscaler
impl UnwindSafe for BoxAutoscaler
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