pub struct TopicRequest {
pub name: String,
pub topic_type: String,
pub tags: Vec<(String, String)>,
pub prefixes: Vec<String>,
pub volatile: Option<bool>,
pub idle_timeout: Option<u64>,
pub fifo: Option<bool>,
pub max_message_bytes: Option<u64>,
pub ttl: Option<u64>,
pub max_deliveries: Option<u64>,
}Expand description
POST /topics. The connector sends only what was filled in; whatever does not apply to the type, the server
refuses.
Fields§
§name: String§topic_type: Stringqueue or distributor.
prefixes: Vec<String>§volatile: Option<bool>§idle_timeout: Option<u64>§fifo: Option<bool>§max_message_bytes: Option<u64>§ttl: Option<u64>§max_deliveries: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for TopicRequest
impl Clone for TopicRequest
Source§impl Debug for TopicRequest
impl Debug for TopicRequest
Auto Trait Implementations§
impl Freeze for TopicRequest
impl RefUnwindSafe for TopicRequest
impl Send for TopicRequest
impl Sync for TopicRequest
impl Unpin for TopicRequest
impl UnsafeUnpin for TopicRequest
impl UnwindSafe for TopicRequest
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