pub struct EntryData {
pub entity: Vec<EntityData>,
pub ops: Vec<OpData>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§entity: Vec<EntityData>The quota entity to alter.
ops: Vec<OpData>An individual quota configuration entry to alter.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl EntryData
impl EntryData
pub fn with_entity(self, value: Vec<EntityData>) -> Self
pub fn with_ops(self, value: Vec<OpData>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
impl StructuralPartialEq for EntryData
Auto Trait Implementations§
impl Freeze for EntryData
impl RefUnwindSafe for EntryData
impl Send for EntryData
impl Sync for EntryData
impl Unpin for EntryData
impl UnsafeUnpin for EntryData
impl UnwindSafe for EntryData
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