pub struct QuotaOverrideRequest {
pub expires_at: Option<String>,
pub limit_value: i64,
pub period: Option<String>,
pub quota_key: String,
pub reason: Option<String>,
pub subject_id: String,
pub subject_type: String,
}Expand description
QuotaOverrideRequest
JSON schema
{
"type": "object",
"required": [
"limit_value",
"quota_key",
"subject_id",
"subject_type"
],
"properties": {
"expires_at": {
"type": [
"string",
"null"
]
},
"limit_value": {
"type": "integer",
"format": "int64"
},
"period": {
"type": [
"string",
"null"
]
},
"quota_key": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"subject_id": {
"type": "string"
},
"subject_type": {
"type": "string"
}
}
}Fields§
§expires_at: Option<String>§limit_value: i64§period: Option<String>§quota_key: String§reason: Option<String>§subject_id: String§subject_type: StringTrait Implementations§
Source§impl Clone for QuotaOverrideRequest
impl Clone for QuotaOverrideRequest
Source§fn clone(&self) -> QuotaOverrideRequest
fn clone(&self) -> QuotaOverrideRequest
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 Debug for QuotaOverrideRequest
impl Debug for QuotaOverrideRequest
Source§impl<'de> Deserialize<'de> for QuotaOverrideRequest
impl<'de> Deserialize<'de> for QuotaOverrideRequest
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 QuotaOverrideRequest
impl RefUnwindSafe for QuotaOverrideRequest
impl Send for QuotaOverrideRequest
impl Sync for QuotaOverrideRequest
impl Unpin for QuotaOverrideRequest
impl UnsafeUnpin for QuotaOverrideRequest
impl UnwindSafe for QuotaOverrideRequest
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