#[non_exhaustive]pub struct EntityV3Queue {
pub api_version: EntityV3APIVersion,
pub datadog: Option<EntityV3QueueDatadog>,
pub extensions: Option<BTreeMap<String, Value>>,
pub integrations: Option<EntityV3Integrations>,
pub kind: EntityV3QueueKind,
pub metadata: EntityV3Metadata,
pub spec: Option<EntityV3QueueSpec>,
/* private fields */
}
Expand description
Schema for queue 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<EntityV3QueueDatadog>
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: EntityV3QueueKind
The definition of Entity V3 Queue Kind object.
metadata: EntityV3Metadata
The definition of Entity V3 Metadata object.
spec: Option<EntityV3QueueSpec>
The definition of Entity V3 Queue Spec object.
Implementations§
Source§impl EntityV3Queue
impl EntityV3Queue
pub fn new( api_version: EntityV3APIVersion, kind: EntityV3QueueKind, metadata: EntityV3Metadata, ) -> EntityV3Queue
pub fn datadog(self, value: EntityV3QueueDatadog) -> Self
pub fn extensions(self, value: BTreeMap<String, Value>) -> Self
pub fn integrations(self, value: EntityV3Integrations) -> Self
pub fn spec(self, value: EntityV3QueueSpec) -> Self
Trait Implementations§
Source§impl Clone for EntityV3Queue
impl Clone for EntityV3Queue
Source§fn clone(&self) -> EntityV3Queue
fn clone(&self) -> EntityV3Queue
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 EntityV3Queue
impl Debug for EntityV3Queue
Source§impl<'de> Deserialize<'de> for EntityV3Queue
impl<'de> Deserialize<'de> for EntityV3Queue
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 EntityV3Queue
impl PartialEq for EntityV3Queue
Source§impl Serialize for EntityV3Queue
impl Serialize for EntityV3Queue
impl StructuralPartialEq for EntityV3Queue
Auto Trait Implementations§
impl Freeze for EntityV3Queue
impl RefUnwindSafe for EntityV3Queue
impl Send for EntityV3Queue
impl Sync for EntityV3Queue
impl Unpin for EntityV3Queue
impl UnwindSafe for EntityV3Queue
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