pub struct TraceMeta {
pub schema_version: u32,
pub revision: String,
pub platform: String,
pub toolchain: String,
pub scenario: String,
pub step: Option<String>,
pub budget_path: Option<String>,
pub raw_path: Option<String>,
}Expand description
<trace>.meta.json:让归档自足到「哪一轮、什么代码、什么机器、哪份预算」。
不进入 trace payload,因此 0.6 baseline 的逐字节比较语义保持不变。
Fields§
§schema_version: u32§revision: String§platform: String§toolchain: String§scenario: String§step: Option<String>§budget_path: Option<String>§raw_path: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceMeta
impl<'de> Deserialize<'de> for TraceMeta
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 TraceMeta
impl StructuralPartialEq for TraceMeta
Auto Trait Implementations§
impl Forget for TraceMeta
impl Freeze for TraceMeta
impl Move for TraceMeta
impl RefUnwindSafe for TraceMeta
impl Send for TraceMetawhere
RawVecInner: Send,
impl Sync for TraceMetawhere
RawVecInner: Sync,
impl Unpin for TraceMeta
impl UnsafeUnpin for TraceMeta
impl UnwindSafe for TraceMetawhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.