Struct hedwig::googlepubsub::TopicConfig [−][src]
pub struct TopicConfig<'s> {
pub name: TopicName<'s>,
pub labels: HashMap<String, String>,
pub message_storage_policy: Option<MessageStoragePolicy>,
pub kms_key_name: String,
pub message_retention_duration: Option<Duration>,
}
This is supported on crate feature
google
only.Expand description
Configuration describing a PubSub topic.
This is a more ergonomic wrapper over pubsub::api::Topic
Fields
name: TopicName<'s>
See name
labels: HashMap<String, String>
See labels
message_storage_policy: Option<MessageStoragePolicy>
kms_key_name: String
See kms_key_name
message_retention_duration: Option<Duration>
Trait Implementations
Auto Trait Implementations
impl<'s> RefUnwindSafe for TopicConfig<'s>
impl<'s> Send for TopicConfig<'s>
impl<'s> Sync for TopicConfig<'s>
impl<'s> Unpin for TopicConfig<'s>
impl<'s> UnwindSafe for TopicConfig<'s>
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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