pub struct SetTopicRequest<'a> {
pub channel: &'a str,
pub topic: &'a str,
}Fields§
§channel: &'a strChannel to set the topic of
topic: &'a strThe new topic
Trait Implementations§
Source§impl<'a> Clone for SetTopicRequest<'a>
impl<'a> Clone for SetTopicRequest<'a>
Source§fn clone(&self) -> SetTopicRequest<'a>
fn clone(&self) -> SetTopicRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetTopicRequest<'a>
impl<'a> Debug for SetTopicRequest<'a>
Source§impl<'a> Default for SetTopicRequest<'a>
impl<'a> Default for SetTopicRequest<'a>
Source§fn default() -> SetTopicRequest<'a>
fn default() -> SetTopicRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for SetTopicRequest<'a>
impl<'a> RefUnwindSafe for SetTopicRequest<'a>
impl<'a> Send for SetTopicRequest<'a>
impl<'a> Sync for SetTopicRequest<'a>
impl<'a> Unpin for SetTopicRequest<'a>
impl<'a> UnwindSafe for SetTopicRequest<'a>
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