pub struct TopicInfo {
pub name: String,
pub expiry_override: Option<i64>,
pub global: Option<bool>,
pub max_bytes: Option<i64>,
pub max_messages: Option<i64>,
pub overflow_policy: Option<OverflowPolicy>,
pub prefetch: Option<i32>,
pub durable_count: Option<i32>,
pub subscriber_count: Option<i32>,
pub pending_messages: Option<i64>,
pub incoming_total_count: Option<i64>,
pub outgoing_total_count: Option<i64>,
}
Expand description
holds static topic information
Fields
name: String
name of the topic
expiry_override: Option<i64>
expiration override
global: Option<bool>
global
max_bytes: Option<i64>
max size
max_messages: Option<i64>
max number of messages
overflow_policy: Option<OverflowPolicy>
overflow policy
prefetch: Option<i32>
prefetch
durable_count: Option<i32>
count of durables
subscriber_count: Option<i32>
count of subscribers
pending_messages: Option<i64>
count of pending messages
incoming_total_count: Option<i64>
total count of incoming messages
outgoing_total_count: Option<i64>
total count of outgoing messages
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TopicInfo
impl<'de> Deserialize<'de> for TopicInfo
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for TopicInfo
impl Send for TopicInfo
impl Sync for TopicInfo
impl Unpin for TopicInfo
impl UnwindSafe for TopicInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more