pub struct SwitchOutcome {
pub conversation_id: u64,
pub resumed: bool,
}Expand description
Outcome of switch_topic. resumed = true means the topic
already existed (in the router or on disk); false means it was
freshly created.
Fields§
§conversation_id: u64§resumed: boolTrait Implementations§
Source§impl Clone for SwitchOutcome
impl Clone for SwitchOutcome
Source§fn clone(&self) -> SwitchOutcome
fn clone(&self) -> SwitchOutcome
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 Debug for SwitchOutcome
impl Debug for SwitchOutcome
impl Copy for SwitchOutcome
Auto Trait Implementations§
impl Freeze for SwitchOutcome
impl RefUnwindSafe for SwitchOutcome
impl Send for SwitchOutcome
impl Sync for SwitchOutcome
impl Unpin for SwitchOutcome
impl UnsafeUnpin for SwitchOutcome
impl UnwindSafe for SwitchOutcome
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