pub enum TopicOutcome {
Created,
Updated,
Recreated,
}Expand description
What PUT /topics/{topic} did.
Variants§
Created
It did not exist (201).
Updated
It existed: the mutable fields are now the declared ones, or already were (200).
Recreated
It was removed and created again with a new id (201 with Taba-Topic-Recreated: true).
Trait Implementations§
Source§impl Clone for TopicOutcome
impl Clone for TopicOutcome
impl Copy for TopicOutcome
Source§impl Debug for TopicOutcome
impl Debug for TopicOutcome
impl Eq for TopicOutcome
Source§impl PartialEq for TopicOutcome
impl PartialEq for TopicOutcome
impl StructuralPartialEq for TopicOutcome
Auto Trait Implementations§
impl Forget for TopicOutcome
impl Freeze for TopicOutcome
impl RefUnwindSafe for TopicOutcome
impl Send for TopicOutcome
impl Sync for TopicOutcome
impl Unpin for TopicOutcome
impl UnsafeUnpin for TopicOutcome
impl UnwindSafe for TopicOutcome
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