pub struct OtelScopeSpan {
pub scope: Option<Box<OtelScope>>,
pub spans: Option<Option<Vec<OtelSpan>>>,
}Expand description
OtelScopeSpan : Collection of spans from a single instrumentation scope
Fields§
§scope: Option<Box<OtelScope>>§spans: Option<Option<Vec<OtelSpan>>>Array of spans
Implementations§
Source§impl OtelScopeSpan
impl OtelScopeSpan
Sourcepub fn builder() -> OtelScopeSpanBuilder
pub fn builder() -> OtelScopeSpanBuilder
Create an instance of OtelScopeSpan using the builder syntax
Source§impl OtelScopeSpan
impl OtelScopeSpan
Sourcepub fn new() -> OtelScopeSpan
pub fn new() -> OtelScopeSpan
Collection of spans from a single instrumentation scope
Trait Implementations§
Source§impl Clone for OtelScopeSpan
impl Clone for OtelScopeSpan
Source§fn clone(&self) -> OtelScopeSpan
fn clone(&self) -> OtelScopeSpan
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 OtelScopeSpan
impl Debug for OtelScopeSpan
Source§impl Default for OtelScopeSpan
impl Default for OtelScopeSpan
Source§fn default() -> OtelScopeSpan
fn default() -> OtelScopeSpan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtelScopeSpan
impl<'de> Deserialize<'de> for OtelScopeSpan
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 OtelScopeSpan
impl PartialEq for OtelScopeSpan
Source§impl Serialize for OtelScopeSpan
impl Serialize for OtelScopeSpan
impl StructuralPartialEq for OtelScopeSpan
Auto Trait Implementations§
impl Freeze for OtelScopeSpan
impl RefUnwindSafe for OtelScopeSpan
impl Send for OtelScopeSpan
impl Sync for OtelScopeSpan
impl Unpin for OtelScopeSpan
impl UnwindSafe for OtelScopeSpan
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