pub struct Bounds {
pub max_cpu: Option<String>,
pub max_memory: Option<String>,
pub max_replicas: Option<u32>,
}Expand description
Upper bounds on what the control plane may request.
Fields§
§max_cpu: Option<String>Most CPU per replica, as a quantity such as 2 or 500m.
max_memory: Option<String>Most memory per replica, as a quantity such as 512Mi.
max_replicas: Option<u32>Most replicas.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bounds
impl<'de> Deserialize<'de> for Bounds
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
impl Eq for Bounds
impl StructuralPartialEq for Bounds
Auto Trait Implementations§
impl Forget for Bounds
impl Freeze for Bounds
impl Move for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnsafeUnpin for Bounds
impl UnwindSafe for Bounds
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