pub struct TopicUpdate {
pub tags: Option<Vec<(String, String)>>,
pub prefixes: Option<Vec<String>>,
pub idle_timeout: Option<u64>,
pub max_message_bytes: Nullable<u64>,
pub ttl: Nullable<u64>,
pub max_deliveries: Nullable<u64>,
}Expand description
PATCH /topics/{topic}: only what was filled in is sent.
Fields§
Replaces the whole map (Some(empty) clears the tags).
prefixes: Option<Vec<String>>§idle_timeout: Option<u64>§max_message_bytes: Nullable<u64>§ttl: Nullable<u64>§max_deliveries: Nullable<u64>Implementations§
Trait Implementations§
Source§impl Clone for TopicUpdate
impl Clone for TopicUpdate
Source§impl Debug for TopicUpdate
impl Debug for TopicUpdate
Auto Trait Implementations§
impl Freeze for TopicUpdate
impl RefUnwindSafe for TopicUpdate
impl Send for TopicUpdate
impl Sync for TopicUpdate
impl Unpin for TopicUpdate
impl UnsafeUnpin for TopicUpdate
impl UnwindSafe for TopicUpdate
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