pub struct MemoryCoordinateSpec {
pub dimension: String,
pub scope_id: String,
pub occurred_at: Option<String>,
pub sequence: Option<u32>,
pub rank: Option<u32>,
}Expand description
Where an entry sits in one dimension.
Fields§
§dimension: StringThe dimension’s kind, matching a MemoryDimensionSpec::kind.
scope_id: StringThe dimension’s id, matching a MemoryDimensionSpec::id.
occurred_at: Option<String>When it happened, RFC 3339. Distinct from when it was recorded.
sequence: Option<u32>Order within the scope, for entries whose sequence matters.
rank: Option<u32>Standing within the scope, for entries that are ranked rather than ordered — a distinct temporal axis in the kernel, not sequence’s synonym: sequence says when among peers, rank says how high.
Trait Implementations§
Source§impl Clone for MemoryCoordinateSpec
impl Clone for MemoryCoordinateSpec
Source§fn clone(&self) -> MemoryCoordinateSpec
fn clone(&self) -> MemoryCoordinateSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryCoordinateSpec
impl Debug for MemoryCoordinateSpec
Source§impl<'de> Deserialize<'de> for MemoryCoordinateSpec
impl<'de> Deserialize<'de> for MemoryCoordinateSpec
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 Eq for MemoryCoordinateSpec
Source§impl PartialEq for MemoryCoordinateSpec
impl PartialEq for MemoryCoordinateSpec
Source§impl Serialize for MemoryCoordinateSpec
impl Serialize for MemoryCoordinateSpec
impl StructuralPartialEq for MemoryCoordinateSpec
Auto Trait Implementations§
impl Freeze for MemoryCoordinateSpec
impl RefUnwindSafe for MemoryCoordinateSpec
impl Send for MemoryCoordinateSpec
impl Sync for MemoryCoordinateSpec
impl Unpin for MemoryCoordinateSpec
impl UnsafeUnpin for MemoryCoordinateSpec
impl UnwindSafe for MemoryCoordinateSpec
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