pub struct BundleMetadata {
pub schema_version: String,
pub assembled_at: String,
pub redaction_policy: BundleRedactionPolicy,
pub annotations: BTreeMap<String, String>,
}Expand description
Metadata fields attached to every DiagnosticBundle.
Fields§
§schema_version: StringSchema version of the bundle format ("1.0").
assembled_at: StringRFC 3339 timestamp at which the bundle was assembled.
redaction_policy: BundleRedactionPolicyRedaction policy applied to this bundle.
annotations: BTreeMap<String, String>Arbitrary key/value annotations (tooling, environment, etc.).
Trait Implementations§
Source§impl Clone for BundleMetadata
impl Clone for BundleMetadata
Source§fn clone(&self) -> BundleMetadata
fn clone(&self) -> BundleMetadata
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 BundleMetadata
impl Debug for BundleMetadata
Source§impl<'de> Deserialize<'de> for BundleMetadata
impl<'de> Deserialize<'de> for BundleMetadata
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 BundleMetadata
impl PartialEq for BundleMetadata
Source§impl Serialize for BundleMetadata
impl Serialize for BundleMetadata
impl Eq for BundleMetadata
impl StructuralPartialEq for BundleMetadata
Auto Trait Implementations§
impl Freeze for BundleMetadata
impl RefUnwindSafe for BundleMetadata
impl Send for BundleMetadata
impl Sync for BundleMetadata
impl Unpin for BundleMetadata
impl UnsafeUnpin for BundleMetadata
impl UnwindSafe for BundleMetadata
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more