pub struct SubscriptionConfig {
Show 15 fields pub push_config: Option<PushConfig>, pub ack_deadline_seconds: i32, pub retain_acked_messages: bool, pub message_retention_duration: Option<Duration>, pub labels: HashMap<String, String>, pub enable_message_ordering: bool, pub expiration_policy: Option<ExpirationPolicy>, pub filter: String, pub dead_letter_policy: Option<DeadLetterPolicy>, pub retry_policy: Option<RetryPolicy>, pub detached: bool, pub topic_message_retention_duration: Option<Duration>, pub enable_exactly_once_delivery: bool, pub bigquery_config: Option<BigQueryConfig>, pub state: i32,
}

Fields

push_config: Option<PushConfig>ack_deadline_seconds: i32retain_acked_messages: boolmessage_retention_duration: Option<Duration>labels: HashMap<String, String>enable_message_ordering: boolexpiration_policy: Option<ExpirationPolicy>filter: Stringdead_letter_policy: Option<DeadLetterPolicy>retry_policy: Option<RetryPolicy>detached: booltopic_message_retention_duration: Option<Duration>enable_exactly_once_delivery: boolbigquery_config: Option<BigQueryConfig>state: i32

Trait Implementations

Returns the “default value” for a type. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

Wrap the input message T in a tonic::Request

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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