pub struct QuotaSpec {
pub name: Option<String>,
pub description: Option<String>,
pub limits: Option<Vec<QuotaLimit>>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§name: Option<String>
§description: Option<String>
§limits: Option<Vec<QuotaLimit>>
§create_index: Option<i32>
§modify_index: Option<i32>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuotaSpec
impl<'de> Deserialize<'de> for QuotaSpec
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 StructuralPartialEq for QuotaSpec
Auto Trait Implementations§
impl Freeze for QuotaSpec
impl RefUnwindSafe for QuotaSpec
impl Send for QuotaSpec
impl Sync for QuotaSpec
impl Unpin for QuotaSpec
impl UnwindSafe for QuotaSpec
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