#[non_exhaustive]pub struct EntityV3Datastore {
pub api_version: EntityV3APIVersion,
pub datadog: Option<EntityV3DatastoreDatadog>,
pub extensions: Option<BTreeMap<String, Value>>,
pub integrations: Option<EntityV3Integrations>,
pub kind: EntityV3DatastoreKind,
pub metadata: EntityV3Metadata,
pub spec: Option<EntityV3DatastoreSpec>,
/* private fields */
}
Expand description
Schema for datastore 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 schema version of entity type. The field is known as schema-version in the previous version.
datadog: Option<EntityV3DatastoreDatadog>
Datadog product integrations for the datastore 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: EntityV3DatastoreKind
The definition of Entity V3 Datastore Kind object.
metadata: EntityV3Metadata
The definition of Entity V3 Metadata object.
spec: Option<EntityV3DatastoreSpec>
The definition of Entity V3 Datastore Spec object.
Implementations§
Source§impl EntityV3Datastore
impl EntityV3Datastore
pub fn new( api_version: EntityV3APIVersion, kind: EntityV3DatastoreKind, metadata: EntityV3Metadata, ) -> EntityV3Datastore
pub fn datadog(self, value: EntityV3DatastoreDatadog) -> Self
pub fn extensions(self, value: BTreeMap<String, Value>) -> Self
pub fn integrations(self, value: EntityV3Integrations) -> Self
pub fn spec(self, value: EntityV3DatastoreSpec) -> Self
Trait Implementations§
Source§impl Clone for EntityV3Datastore
impl Clone for EntityV3Datastore
Source§fn clone(&self) -> EntityV3Datastore
fn clone(&self) -> EntityV3Datastore
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 EntityV3Datastore
impl Debug for EntityV3Datastore
Source§impl<'de> Deserialize<'de> for EntityV3Datastore
impl<'de> Deserialize<'de> for EntityV3Datastore
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 EntityV3Datastore
impl PartialEq for EntityV3Datastore
Source§impl Serialize for EntityV3Datastore
impl Serialize for EntityV3Datastore
impl StructuralPartialEq for EntityV3Datastore
Auto Trait Implementations§
impl Freeze for EntityV3Datastore
impl RefUnwindSafe for EntityV3Datastore
impl Send for EntityV3Datastore
impl Sync for EntityV3Datastore
impl Unpin for EntityV3Datastore
impl UnwindSafe for EntityV3Datastore
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