pub struct ModifyTopics {
pub add_topics: Option<Vec<String>>,
pub remove_topics: Option<Vec<String>>,
}Fields§
§add_topics: Option<Vec<String>>§remove_topics: Option<Vec<String>>Implementations§
Source§impl ModifyTopics
impl ModifyTopics
pub fn new() -> ModifyTopics
Trait Implementations§
Source§impl Clone for ModifyTopics
impl Clone for ModifyTopics
Source§fn clone(&self) -> ModifyTopics
fn clone(&self) -> ModifyTopics
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 ModifyTopics
impl Debug for ModifyTopics
Source§impl Default for ModifyTopics
impl Default for ModifyTopics
Source§fn default() -> ModifyTopics
fn default() -> ModifyTopics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModifyTopics
impl<'de> Deserialize<'de> for ModifyTopics
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 ModifyTopics
impl PartialEq for ModifyTopics
Source§fn eq(&self, other: &ModifyTopics) -> bool
fn eq(&self, other: &ModifyTopics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModifyTopics
impl Serialize for ModifyTopics
impl StructuralPartialEq for ModifyTopics
Auto Trait Implementations§
impl Freeze for ModifyTopics
impl RefUnwindSafe for ModifyTopics
impl Send for ModifyTopics
impl Sync for ModifyTopics
impl Unpin for ModifyTopics
impl UnsafeUnpin for ModifyTopics
impl UnwindSafe for ModifyTopics
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