pub struct AzureContainerAppsEnvironmentWorkloadProfile {
pub maximum_count: Option<i32>,
pub minimum_count: Option<i32>,
pub name: String,
pub workload_profile_type: String,
}Expand description
AzureContainerAppsEnvironmentWorkloadProfile
JSON schema
{
"type": "object",
"required": [
"name",
"workloadProfileType"
],
"properties": {
"maximumCount": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"minimumCount": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"name": {
"type": "string"
},
"workloadProfileType": {
"type": "string"
}
}
}Fields§
§maximum_count: Option<i32>§minimum_count: Option<i32>§name: String§workload_profile_type: StringImplementations§
Trait Implementations§
Source§impl Clone for AzureContainerAppsEnvironmentWorkloadProfile
impl Clone for AzureContainerAppsEnvironmentWorkloadProfile
Source§fn clone(&self) -> AzureContainerAppsEnvironmentWorkloadProfile
fn clone(&self) -> AzureContainerAppsEnvironmentWorkloadProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for AzureContainerAppsEnvironmentWorkloadProfile
impl<'de> Deserialize<'de> for AzureContainerAppsEnvironmentWorkloadProfile
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
Source§impl From<&AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
impl From<&AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
Source§fn from(value: &AzureContainerAppsEnvironmentWorkloadProfile) -> Self
fn from(value: &AzureContainerAppsEnvironmentWorkloadProfile) -> Self
Converts to this type from the input type.
Source§impl From<AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
impl From<AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
Source§fn from(value: AzureContainerAppsEnvironmentWorkloadProfile) -> Self
fn from(value: AzureContainerAppsEnvironmentWorkloadProfile) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
impl TryFrom<AzureContainerAppsEnvironmentWorkloadProfile> for AzureContainerAppsEnvironmentWorkloadProfile
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AzureContainerAppsEnvironmentWorkloadProfile,
) -> Result<Self, ConversionError>
fn try_from( value: AzureContainerAppsEnvironmentWorkloadProfile, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AzureContainerAppsEnvironmentWorkloadProfile
impl RefUnwindSafe for AzureContainerAppsEnvironmentWorkloadProfile
impl Send for AzureContainerAppsEnvironmentWorkloadProfile
impl Sync for AzureContainerAppsEnvironmentWorkloadProfile
impl Unpin for AzureContainerAppsEnvironmentWorkloadProfile
impl UnsafeUnpin for AzureContainerAppsEnvironmentWorkloadProfile
impl UnwindSafe for AzureContainerAppsEnvironmentWorkloadProfile
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