pub struct RunMetadata {
pub profiler_version: String,
pub backend: BackendKind,
pub instrumentation: InstrumentationMode,
pub git_commit: Option<String>,
pub solana_versions: Vec<String>,
pub generated_at: Option<String>,
}Expand description
Metadata describing the environment a report was generated in.
Fields§
§profiler_version: StringVersion of cu-profiler that produced the report.
backend: BackendKindBackend used.
instrumentation: InstrumentationModeInstrumentation mode.
git_commit: Option<String>Git commit, if discoverable.
solana_versions: Vec<String>Solana/Agave crate versions, if known.
generated_at: Option<String>RFC3339 timestamp, if the caller chose to stamp one.
Implementations§
Trait Implementations§
Source§impl Clone for RunMetadata
impl Clone for RunMetadata
Source§fn clone(&self) -> RunMetadata
fn clone(&self) -> RunMetadata
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 RunMetadata
impl Debug for RunMetadata
Source§impl<'de> Deserialize<'de> for RunMetadata
impl<'de> Deserialize<'de> for RunMetadata
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 RunMetadata
Source§impl PartialEq for RunMetadata
impl PartialEq for RunMetadata
Source§fn eq(&self, other: &RunMetadata) -> bool
fn eq(&self, other: &RunMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RunMetadata
impl Serialize for RunMetadata
impl StructuralPartialEq for RunMetadata
Auto Trait Implementations§
impl Freeze for RunMetadata
impl RefUnwindSafe for RunMetadata
impl Send for RunMetadata
impl Sync for RunMetadata
impl Unpin for RunMetadata
impl UnsafeUnpin for RunMetadata
impl UnwindSafe for RunMetadata
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