pub struct ContainerMetadata {
pub version: Option<u16>,
pub ingest_settings: Option<IngestSettings>,
}Expand description
Metadata supplied with an item container containing spans.
See also: https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#version-and-ingest_settings-properties.
Fields§
§version: Option<u16>The metadata version
The version influences how spans are processed during ingestion.
Currently supported versions:
missing: no behaviour change2: adds support foringest_settings
ingest_settings: Option<IngestSettings>Settings controlling parts of the ingestion of individual spans.
Supported since version 2.
Trait Implementations§
Source§impl Clone for ContainerMetadata
impl Clone for ContainerMetadata
Source§fn clone(&self) -> ContainerMetadata
fn clone(&self) -> ContainerMetadata
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 ContainerMetadata
impl Debug for ContainerMetadata
Source§impl<'de> Deserialize<'de> for ContainerMetadata
impl<'de> Deserialize<'de> for ContainerMetadata
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 ContainerMetadata
impl RefUnwindSafe for ContainerMetadata
impl Send for ContainerMetadata
impl Sync for ContainerMetadata
impl Unpin for ContainerMetadata
impl UnsafeUnpin for ContainerMetadata
impl UnwindSafe for ContainerMetadata
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