pub struct EntryData {
pub entity: Vec<EntityData>,
pub values: Vec<ValueData>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§entity: Vec<EntityData>The quota entity description.
values: Vec<ValueData>The quota values for the entity.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl EntryData
impl EntryData
pub fn with_entity(self, value: Vec<EntityData>) -> Self
pub fn with_values(self, value: Vec<ValueData>) -> 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