pub struct MemoryEvent {
pub byte_count: Option<i64>,
pub create_time: Option<DateTime<Utc>>,
pub event_type: Option<String>,
}Expand description
An event related to memory and storage measurements.To distinguish between new and old events, we recommend using the createTime field.
This type is not used in any activity, and only used as part of another schema.
Fields§
§byte_count: Option<i64>The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
create_time: Option<DateTime<Utc>>The creation time of the event.
event_type: Option<String>Event type.
Trait Implementations§
Source§impl Clone for MemoryEvent
impl Clone for MemoryEvent
Source§fn clone(&self) -> MemoryEvent
fn clone(&self) -> MemoryEvent
Returns a duplicate 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 MemoryEvent
impl Debug for MemoryEvent
Source§impl Default for MemoryEvent
impl Default for MemoryEvent
Source§fn default() -> MemoryEvent
fn default() -> MemoryEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryEvent
impl<'de> Deserialize<'de> for MemoryEvent
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 Serialize for MemoryEvent
impl Serialize for MemoryEvent
impl Part for MemoryEvent
Auto Trait Implementations§
impl Freeze for MemoryEvent
impl RefUnwindSafe for MemoryEvent
impl Send for MemoryEvent
impl Sync for MemoryEvent
impl Unpin for MemoryEvent
impl UnwindSafe for MemoryEvent
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