#[non_exhaustive]pub struct EntityV3System {
pub api_version: EntityV3APIVersion,
pub datadog: Option<EntityV3SystemDatadog>,
pub extensions: Option<BTreeMap<String, Value>>,
pub integrations: Option<EntityV3Integrations>,
pub kind: EntityV3SystemKind,
pub metadata: EntityV3Metadata,
pub spec: Option<EntityV3SystemSpec>,
/* private fields */
}
Expand description
Schema for system entities.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_version: EntityV3APIVersion
The version of the schema data that was used to populate this entity’s data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
datadog: Option<EntityV3SystemDatadog>
Datadog product integrations for the service entity.
extensions: Option<BTreeMap<String, Value>>
Custom extensions. This is the free-formed field to send client-side metadata. No Datadog features are affected by this field.
integrations: Option<EntityV3Integrations>
A base schema for defining third-party integrations.
kind: EntityV3SystemKind
The definition of Entity V3 System Kind object.
metadata: EntityV3Metadata
The definition of Entity V3 Metadata object.
spec: Option<EntityV3SystemSpec>
The definition of Entity V3 System Spec object.
Implementations§
Source§impl EntityV3System
impl EntityV3System
pub fn new( api_version: EntityV3APIVersion, kind: EntityV3SystemKind, metadata: EntityV3Metadata, ) -> EntityV3System
pub fn datadog(self, value: EntityV3SystemDatadog) -> Self
pub fn extensions(self, value: BTreeMap<String, Value>) -> Self
pub fn integrations(self, value: EntityV3Integrations) -> Self
pub fn spec(self, value: EntityV3SystemSpec) -> Self
Trait Implementations§
Source§impl Clone for EntityV3System
impl Clone for EntityV3System
Source§fn clone(&self) -> EntityV3System
fn clone(&self) -> EntityV3System
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 EntityV3System
impl Debug for EntityV3System
Source§impl<'de> Deserialize<'de> for EntityV3System
impl<'de> Deserialize<'de> for EntityV3System
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 EntityV3System
impl PartialEq for EntityV3System
Source§impl Serialize for EntityV3System
impl Serialize for EntityV3System
impl StructuralPartialEq for EntityV3System
Auto Trait Implementations§
impl Freeze for EntityV3System
impl RefUnwindSafe for EntityV3System
impl Send for EntityV3System
impl Sync for EntityV3System
impl Unpin for EntityV3System
impl UnwindSafe for EntityV3System
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