Struct mz_audit_log::StorageUsageV1
source · pub struct StorageUsageV1 {
pub id: u64,
pub shard_id: Option<String>,
pub size_bytes: u64,
pub collection_timestamp: EpochMillis,
}
Fields§
§id: u64
§shard_id: Option<String>
§size_bytes: u64
§collection_timestamp: EpochMillis
Implementations§
source§impl StorageUsageV1
impl StorageUsageV1
pub fn new(
id: u64,
shard_id: Option<String>,
size_bytes: u64,
collection_timestamp: EpochMillis
) -> StorageUsageV1
Trait Implementations§
source§impl Clone for StorageUsageV1
impl Clone for StorageUsageV1
source§fn clone(&self) -> StorageUsageV1
fn clone(&self) -> StorageUsageV1
Returns a copy of the value. Read more
1.0.0 · 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 StorageUsageV1
impl Debug for StorageUsageV1
source§impl<'de> Deserialize<'de> for StorageUsageV1
impl<'de> Deserialize<'de> for StorageUsageV1
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 Hash for StorageUsageV1
impl Hash for StorageUsageV1
source§impl Ord for StorageUsageV1
impl Ord for StorageUsageV1
source§fn cmp(&self, other: &StorageUsageV1) -> Ordering
fn cmp(&self, other: &StorageUsageV1) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<StorageUsageV1> for StorageUsageV1
impl PartialEq<StorageUsageV1> for StorageUsageV1
source§fn eq(&self, other: &StorageUsageV1) -> bool
fn eq(&self, other: &StorageUsageV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StorageUsageV1> for StorageUsageV1
impl PartialOrd<StorageUsageV1> for StorageUsageV1
source§fn partial_cmp(&self, other: &StorageUsageV1) -> Option<Ordering>
fn partial_cmp(&self, other: &StorageUsageV1) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for StorageUsageV1
impl Serialize for StorageUsageV1
impl Eq for StorageUsageV1
impl StructuralEq for StorageUsageV1
impl StructuralPartialEq for StorageUsageV1
Auto Trait Implementations§
impl RefUnwindSafe for StorageUsageV1
impl Send for StorageUsageV1
impl Sync for StorageUsageV1
impl Unpin for StorageUsageV1
impl UnwindSafe for StorageUsageV1
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request