pub struct Unsubscribe { /* private fields */ }
Expand description
Arguments for an unsubscribe operation.
Implementations§
Source§impl Unsubscribe
impl Unsubscribe
Sourcepub fn new(topics: Vec<UnsubscribeTopic>) -> Unsubscribe
pub fn new(topics: Vec<UnsubscribeTopic>) -> Unsubscribe
Construct a new instance.
Sourcepub fn topics(&self) -> &[UnsubscribeTopic]
pub fn topics(&self) -> &[UnsubscribeTopic]
Returns the topics for the operation
Auto Trait Implementations§
impl Freeze for Unsubscribe
impl RefUnwindSafe for Unsubscribe
impl Send for Unsubscribe
impl Sync for Unsubscribe
impl Unpin for Unsubscribe
impl UnwindSafe for Unsubscribe
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