#[non_exhaustive]pub enum OldTopicRemoval {
Obsoleted {
old_merge: StagedTopic,
replacement: Option<StagedTopic>,
},
Removed(StagedTopic),
}Expand description
Reasons an old topic was removed from the stage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Obsoleted
The topic branch has been obsoleted by an update.
Fields
§
old_merge: StagedTopicThe old topic, as staged.
§
replacement: Option<StagedTopic>The staged topic branch which has replaced the old topic branch.
Removed(StagedTopic)
The topic branch has been removed, without replacement, from the stage.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OldTopicRemoval
impl RefUnwindSafe for OldTopicRemoval
impl Send for OldTopicRemoval
impl Sync for OldTopicRemoval
impl Unpin for OldTopicRemoval
impl UnwindSafe for OldTopicRemoval
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