pub struct DeploymentResources { /* private fields */ }Implementations§
Source§impl DeploymentResources
impl DeploymentResources
pub fn cpu_cores_max<T>(self, value: T) -> Self
pub fn cpu_cores_min<T>(self, value: T) -> Self
pub fn memory_max<T>(self, value: T) -> Self
pub fn memory_min<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DeploymentResources
impl Clone for DeploymentResources
Source§impl Debug for DeploymentResources
impl Debug for DeploymentResources
Source§impl Default for DeploymentResources
impl Default for DeploymentResources
Source§impl From<DeploymentResources> for DeploymentResources
impl From<DeploymentResources> for DeploymentResources
Source§fn from(value: DeploymentResources) -> Self
fn from(value: DeploymentResources) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DeploymentResources> for DeploymentResources
impl TryFrom<DeploymentResources> for DeploymentResources
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeploymentResources) -> Result<Self, ConversionError>
fn try_from(value: DeploymentResources) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeploymentResources
impl RefUnwindSafe for DeploymentResources
impl Send for DeploymentResources
impl Sync for DeploymentResources
impl Unpin for DeploymentResources
impl UnsafeUnpin for DeploymentResources
impl UnwindSafe for DeploymentResources
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