pub struct OtlpScopeSpan {
pub scope: Option<OtlpScope>,
pub spans: Vec<OtlpSpan>,
}Expand description
Spans grouped by instrumentation scope.
Fields§
§scope: Option<OtlpScope>Identifies the instrumentation library, when set.
spans: Vec<OtlpSpan>Spans in this scope.
Trait Implementations§
Source§impl Clone for OtlpScopeSpan
impl Clone for OtlpScopeSpan
Source§fn clone(&self) -> OtlpScopeSpan
fn clone(&self) -> OtlpScopeSpan
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 OtlpScopeSpan
impl Debug for OtlpScopeSpan
Source§impl Default for OtlpScopeSpan
impl Default for OtlpScopeSpan
Source§fn default() -> OtlpScopeSpan
fn default() -> OtlpScopeSpan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtlpScopeSpan
impl<'de> Deserialize<'de> for OtlpScopeSpan
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 PartialEq for OtlpScopeSpan
impl PartialEq for OtlpScopeSpan
Source§impl Serialize for OtlpScopeSpan
impl Serialize for OtlpScopeSpan
impl StructuralPartialEq for OtlpScopeSpan
Auto Trait Implementations§
impl Freeze for OtlpScopeSpan
impl RefUnwindSafe for OtlpScopeSpan
impl Send for OtlpScopeSpan
impl Sync for OtlpScopeSpan
impl Unpin for OtlpScopeSpan
impl UnsafeUnpin for OtlpScopeSpan
impl UnwindSafe for OtlpScopeSpan
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