pub struct AiQuotaWarning {
pub applied: f64,
pub default: f64,
pub quota_name: String,
}Expand description
One quota the account has set well below the cloud’s default (under 10%).
JSON schema
{
"description": "One quota the account has set well below the cloud's default (under 10%).",
"type": "object",
"required": [
"applied",
"default",
"quotaName"
],
"properties": {
"applied": {
"type": "number",
"format": "double"
},
"default": {
"type": "number",
"format": "double"
},
"quotaName": {
"type": "string"
}
}
}Fields§
§applied: f64§default: f64§quota_name: StringImplementations§
Source§impl AiQuotaWarning
impl AiQuotaWarning
pub fn builder() -> AiQuotaWarning
Trait Implementations§
Source§impl Clone for AiQuotaWarning
impl Clone for AiQuotaWarning
Source§impl Debug for AiQuotaWarning
impl Debug for AiQuotaWarning
Source§impl<'de> Deserialize<'de> for AiQuotaWarning
impl<'de> Deserialize<'de> for AiQuotaWarning
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<&AiQuotaWarning> for AiQuotaWarning
impl From<&AiQuotaWarning> for AiQuotaWarning
Source§fn from(value: &AiQuotaWarning) -> Self
fn from(value: &AiQuotaWarning) -> Self
Converts to this type from the input type.
Source§impl From<AiQuotaWarning> for AiQuotaWarning
impl From<AiQuotaWarning> for AiQuotaWarning
Source§fn from(value: AiQuotaWarning) -> Self
fn from(value: AiQuotaWarning) -> Self
Converts to this type from the input type.
Source§impl Serialize for AiQuotaWarning
impl Serialize for AiQuotaWarning
Source§impl TryFrom<AiQuotaWarning> for AiQuotaWarning
impl TryFrom<AiQuotaWarning> for AiQuotaWarning
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AiQuotaWarning) -> Result<Self, ConversionError>
fn try_from(value: AiQuotaWarning) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for AiQuotaWarning
impl Freeze for AiQuotaWarning
impl Move for AiQuotaWarning
impl RefUnwindSafe for AiQuotaWarning
impl Send for AiQuotaWarning
impl Sync for AiQuotaWarning
impl Unpin for AiQuotaWarning
impl UnsafeUnpin for AiQuotaWarning
impl UnwindSafe for AiQuotaWarning
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