pub struct ResourceSpans {
pub resource: ResourceAttributes,
pub scope_spans: Vec<ScopeSpans>,
}Expand description
Resource-level spans (one per service).
Fields§
§resource: ResourceAttributes§scope_spans: Vec<ScopeSpans>Trait Implementations§
Source§impl Clone for ResourceSpans
impl Clone for ResourceSpans
Source§fn clone(&self) -> ResourceSpans
fn clone(&self) -> ResourceSpans
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 ResourceSpans
impl Debug for ResourceSpans
Source§impl<'de> Deserialize<'de> for ResourceSpans
impl<'de> Deserialize<'de> for ResourceSpans
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
Auto Trait Implementations§
impl Freeze for ResourceSpans
impl RefUnwindSafe for ResourceSpans
impl Send for ResourceSpans
impl Sync for ResourceSpans
impl Unpin for ResourceSpans
impl UnsafeUnpin for ResourceSpans
impl UnwindSafe for ResourceSpans
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