pub struct TopicAttributes;
Expand description
Defines attributes and configurations for RocketMQ topics
Implementations§
Source§impl TopicAttributes
impl TopicAttributes
Sourcepub fn queue_type_attribute() -> &'static EnumAttribute
pub fn queue_type_attribute() -> &'static EnumAttribute
Queue type attribute defining storage structure (BatchCQ or SimpleCQ)
Sourcepub fn cleanup_policy_attribute() -> &'static EnumAttribute
pub fn cleanup_policy_attribute() -> &'static EnumAttribute
Cleanup policy attribute defining how messages are cleaned up (DELETE or COMPACTION)
Sourcepub fn topic_message_type_attribute() -> &'static EnumAttribute
pub fn topic_message_type_attribute() -> &'static EnumAttribute
Message type attribute defining the type of messages stored in the topic
Sourcepub fn topic_reserve_time_attribute() -> &'static LongRangeAttribute
pub fn topic_reserve_time_attribute() -> &'static LongRangeAttribute
Reserve time attribute defining how long messages are kept
Auto Trait Implementations§
impl Freeze for TopicAttributes
impl RefUnwindSafe for TopicAttributes
impl Send for TopicAttributes
impl Sync for TopicAttributes
impl Unpin for TopicAttributes
impl UnwindSafe for TopicAttributes
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