Skip to main content

QueueHeartbeatData

Enum QueueHeartbeatData 

Source
pub enum QueueHeartbeatData {
    Variant0 {
Show 25 fields approximate_counts: bool, approximate_delayed_messages: Option<i64>, approximate_in_flight_messages: Option<i64>, approximate_visible_messages: Option<i64>, backend: QueueHeartbeatDataVariant0Backend, content_based_deduplication: Option<bool>, deduplication_scope: Option<String>, delay_seconds: Option<i32>, fifo_queue: Option<bool>, fifo_throughput_limit: Option<String>, kms_data_key_reuse_period_seconds: Option<i32>, kms_master_key_id: Option<String>, maximum_message_size: Option<i32>, message_retention_period_seconds: Option<i32>, name: String, queue_arn: Option<String>, queue_url: Option<String>, receive_message_wait_time_seconds: Option<i32>, redrive_allow_policy: Option<String>, redrive_policy: Option<String>, region: Option<String>, sqs_managed_sse_enabled: Option<bool>, sse_enabled: Option<bool>, status: QueueHeartbeatStatus, visibility_timeout_seconds: Option<i32>,
}, Variant1 {
Show 35 fields backend: QueueHeartbeatDataVariant1Backend, endpoint: Option<String>, kms_key_name: Option<String>, message_storage_allowed_persistence_regions: Vec<String>, message_storage_enforce_in_transit: Option<bool>, project_id: Option<String>, schema_encoding: Option<String>, schema_first_revision_id: Option<String>, schema_last_revision_id: Option<String>, schema_name: Option<String>, status: QueueHeartbeatStatus, subscription_ack_deadline_seconds: Option<i32>, subscription_dead_letter_max_delivery_attempts: Option<i32>, subscription_dead_letter_topic: Option<String>, subscription_detached: Option<bool>, subscription_enable_message_ordering: Option<bool>, subscription_filter: Option<String>, subscription_full_name: Option<String>, subscription_labels: HashMap<String, String>, subscription_message_retention_duration: Option<String>, subscription_name: Option<String>, subscription_push_attributes: HashMap<String, String>, subscription_push_config_present: Option<bool>, subscription_push_endpoint: Option<String>, subscription_push_no_wrapper_write_metadata: Option<bool>, subscription_push_oidc_audience: Option<String>, subscription_push_oidc_service_account_email: Option<String>, subscription_push_pubsub_wrapper_write_metadata: Option<bool>, subscription_retain_acked_messages: Option<bool>, subscription_state: Option<String>, topic_full_name: Option<String>, topic_labels: HashMap<String, String>, topic_message_retention_duration: Option<String>, topic_name: String, topic_state: Option<String>,
}, Variant2 {
Show 33 fields accessed_at: Option<String>, active_message_count: Option<i64>, auto_delete_on_idle: Option<String>, backend: QueueHeartbeatDataVariant2Backend, created_at: Option<String>, dead_letter_message_count: Option<i64>, dead_lettering_on_message_expiration: Option<bool>, default_message_time_to_live: Option<String>, duplicate_detection_history_time_window: Option<String>, enable_batched_operations: Option<bool>, enable_express: Option<bool>, enable_partitioning: Option<bool>, endpoint: Option<String>, forward_dead_lettered_messages_to: Option<String>, forward_to: Option<String>, lock_duration: Option<String>, max_delivery_count: Option<i32>, max_message_size_in_kilobytes: Option<i64>, max_size_in_megabytes: Option<i32>, message_count: Option<i64>, name: String, namespace_name: String, queue_status: Option<String>, requires_duplicate_detection: Option<bool>, requires_session: Option<bool>, resource_group: Option<String>, resource_id: Option<String>, scheduled_message_count: Option<i64>, size_in_bytes: Option<i64>, status: QueueHeartbeatStatus, transfer_dead_letter_message_count: Option<i64>, transfer_message_count: Option<i64>, updated_at: Option<String>,
}, Variant3 { backend: QueueHeartbeatDataVariant3Backend, name: String, path: Option<String>, service_status: Option<String>, status: QueueHeartbeatStatus, }, }
Expand description

QueueHeartbeatData

JSON schema
{
 "oneOf": [
   {
     "allOf": [
       {
         "$ref": "#/components/schemas/AwsSqsQueueHeartbeatData"
       },
       {
         "type": "object",
         "required": [
           "backend"
         ],
         "properties": {
           "backend": {
             "type": "string",
             "enum": [
               "awsSqs"
             ]
           }
         }
       }
     ]
   },
   {
     "allOf": [
       {
         "$ref": "#/components/schemas/GcpPubSubQueueHeartbeatData"
       },
       {
         "type": "object",
         "required": [
           "backend"
         ],
         "properties": {
           "backend": {
             "type": "string",
             "enum": [
               "gcpPubSub"
             ]
           }
         }
       }
     ]
   },
   {
     "allOf": [
       {
         "$ref": "#/components/schemas/AzureServiceBusQueueHeartbeatData"
       },
       {
         "type": "object",
         "required": [
           "backend"
         ],
         "properties": {
           "backend": {
             "type": "string",
             "enum": [
               "azureServiceBus"
             ]
           }
         }
       }
     ]
   },
   {
     "allOf": [
       {
         "$ref": "#/components/schemas/LocalQueueHeartbeatData"
       },
       {
         "type": "object",
         "required": [
           "backend"
         ],
         "properties": {
           "backend": {
             "type": "string",
             "enum": [
               "local"
             ]
           }
         }
       }
     ]
   }
 ]
}

Variants§

§

Variant0

Fields

§approximate_counts: bool
§approximate_delayed_messages: Option<i64>
§approximate_in_flight_messages: Option<i64>
§approximate_visible_messages: Option<i64>
§content_based_deduplication: Option<bool>
§deduplication_scope: Option<String>
§delay_seconds: Option<i32>
§fifo_queue: Option<bool>
§fifo_throughput_limit: Option<String>
§kms_data_key_reuse_period_seconds: Option<i32>
§kms_master_key_id: Option<String>
§maximum_message_size: Option<i32>
§message_retention_period_seconds: Option<i32>
§name: String
§queue_arn: Option<String>
§queue_url: Option<String>
§receive_message_wait_time_seconds: Option<i32>
§redrive_allow_policy: Option<String>
§redrive_policy: Option<String>
§region: Option<String>
§sqs_managed_sse_enabled: Option<bool>
§sse_enabled: Option<bool>
§visibility_timeout_seconds: Option<i32>
§

Variant1

Fields

§endpoint: Option<String>
§kms_key_name: Option<String>
§message_storage_allowed_persistence_regions: Vec<String>
§message_storage_enforce_in_transit: Option<bool>
§project_id: Option<String>
§schema_encoding: Option<String>
§schema_first_revision_id: Option<String>
§schema_last_revision_id: Option<String>
§schema_name: Option<String>
§subscription_ack_deadline_seconds: Option<i32>
§subscription_dead_letter_max_delivery_attempts: Option<i32>
§subscription_dead_letter_topic: Option<String>
§subscription_detached: Option<bool>
§subscription_enable_message_ordering: Option<bool>
§subscription_filter: Option<String>
§subscription_full_name: Option<String>
§subscription_labels: HashMap<String, String>
§subscription_message_retention_duration: Option<String>
§subscription_name: Option<String>
§subscription_push_attributes: HashMap<String, String>
§subscription_push_config_present: Option<bool>
§subscription_push_endpoint: Option<String>
§subscription_push_no_wrapper_write_metadata: Option<bool>
§subscription_push_oidc_audience: Option<String>
§subscription_push_oidc_service_account_email: Option<String>
§subscription_push_pubsub_wrapper_write_metadata: Option<bool>
§subscription_retain_acked_messages: Option<bool>
§subscription_state: Option<String>
§topic_full_name: Option<String>
§topic_labels: HashMap<String, String>
§topic_message_retention_duration: Option<String>
§topic_name: String
§topic_state: Option<String>
§

Variant2

Fields

§accessed_at: Option<String>
§active_message_count: Option<i64>
§auto_delete_on_idle: Option<String>
§created_at: Option<String>
§dead_letter_message_count: Option<i64>
§dead_lettering_on_message_expiration: Option<bool>
§default_message_time_to_live: Option<String>
§duplicate_detection_history_time_window: Option<String>
§enable_batched_operations: Option<bool>
§enable_express: Option<bool>
§enable_partitioning: Option<bool>
§endpoint: Option<String>
§forward_dead_lettered_messages_to: Option<String>
§forward_to: Option<String>
§lock_duration: Option<String>
§max_delivery_count: Option<i32>
§max_message_size_in_kilobytes: Option<i64>
§max_size_in_megabytes: Option<i32>
§message_count: Option<i64>
§name: String
§namespace_name: String
§queue_status: Option<String>
§requires_duplicate_detection: Option<bool>
§requires_session: Option<bool>
§resource_group: Option<String>
§resource_id: Option<String>
§scheduled_message_count: Option<i64>
§size_in_bytes: Option<i64>
§transfer_dead_letter_message_count: Option<i64>
§transfer_message_count: Option<i64>
§updated_at: Option<String>
§

Variant3

Trait Implementations§

Source§

impl Clone for QueueHeartbeatData

Source§

fn clone(&self) -> QueueHeartbeatData

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for QueueHeartbeatData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for QueueHeartbeatData

Source§

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 From<&QueueHeartbeatData> for QueueHeartbeatData

Source§

fn from(value: &QueueHeartbeatData) -> Self

Converts to this type from the input type.
Source§

impl From<QueueHeartbeatData> for ResourceHeartbeatData

Source§

fn from(value: QueueHeartbeatData) -> Self

Converts to this type from the input type.
Source§

impl Serialize for QueueHeartbeatData

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more