pub struct RunningAgentVersion {
pub version: String,
pub commit: String,
}Expand description
The version of the core Agent, as the running Agent reports it.
Unlike crate::agent_version, which ADP was built against, this is the Agent ADP is running alongside.
Fields§
§version: StringVersion string, such as 7.81.0 or 7.81.0-devel+git.12.abcdef0.
This is the Agent’s version.RunningAgentVersion, which the trace-agent, built alongside it, reports too.
commit: StringShort hash of the commit the Agent was built from.
Trait Implementations§
Source§impl Clone for RunningAgentVersion
impl Clone for RunningAgentVersion
Source§fn clone(&self) -> RunningAgentVersion
fn clone(&self) -> RunningAgentVersion
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 RunningAgentVersion
impl Debug for RunningAgentVersion
Source§impl Default for RunningAgentVersion
impl Default for RunningAgentVersion
Source§fn default() -> RunningAgentVersion
fn default() -> RunningAgentVersion
Returns the “default value” for a type. Read more
Source§impl PartialEq for RunningAgentVersion
impl PartialEq for RunningAgentVersion
impl Eq for RunningAgentVersion
impl StructuralPartialEq for RunningAgentVersion
Auto Trait Implementations§
impl Freeze for RunningAgentVersion
impl RefUnwindSafe for RunningAgentVersion
impl Send for RunningAgentVersion
impl Sync for RunningAgentVersion
impl Unpin for RunningAgentVersion
impl UnsafeUnpin for RunningAgentVersion
impl UnwindSafe for RunningAgentVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more