pub struct UpdateStreamTopicsRequest {
pub modify: Option<ModifyTopics>,
pub overwrite: Option<OverwriteTopics>,
pub stream_id: Option<String>,
}Expand description
UpdateStreamTopicsRequest : Adding and removing topics can both be supplied in the same request, allowing for simultaneous changes. overwrite_topics will take precedence, and if set, then the add/remove topics are ignored. The stream_id is required.
Fields§
§modify: Option<ModifyTopics>§overwrite: Option<OverwriteTopics>§stream_id: Option<String>Implementations§
Source§impl UpdateStreamTopicsRequest
impl UpdateStreamTopicsRequest
Sourcepub fn new() -> UpdateStreamTopicsRequest
pub fn new() -> UpdateStreamTopicsRequest
Adding and removing topics can both be supplied in the same request, allowing for simultaneous changes. overwrite_topics will take precedence, and if set, then the add/remove topics are ignored. The stream_id is required.
Trait Implementations§
Source§impl Clone for UpdateStreamTopicsRequest
impl Clone for UpdateStreamTopicsRequest
Source§fn clone(&self) -> UpdateStreamTopicsRequest
fn clone(&self) -> UpdateStreamTopicsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateStreamTopicsRequest
impl Debug for UpdateStreamTopicsRequest
Source§impl Default for UpdateStreamTopicsRequest
impl Default for UpdateStreamTopicsRequest
Source§fn default() -> UpdateStreamTopicsRequest
fn default() -> UpdateStreamTopicsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateStreamTopicsRequest
impl<'de> Deserialize<'de> for UpdateStreamTopicsRequest
Source§fn 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
Source§impl PartialEq for UpdateStreamTopicsRequest
impl PartialEq for UpdateStreamTopicsRequest
Source§fn eq(&self, other: &UpdateStreamTopicsRequest) -> bool
fn eq(&self, other: &UpdateStreamTopicsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateStreamTopicsRequest
Auto Trait Implementations§
impl Freeze for UpdateStreamTopicsRequest
impl RefUnwindSafe for UpdateStreamTopicsRequest
impl Send for UpdateStreamTopicsRequest
impl Sync for UpdateStreamTopicsRequest
impl Unpin for UpdateStreamTopicsRequest
impl UnsafeUnpin for UpdateStreamTopicsRequest
impl UnwindSafe for UpdateStreamTopicsRequest
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