#[non_exhaustive]pub enum StreamEventKind {
Created,
Updated,
Other,
}Expand description
Kind of a stream element.
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.
Created
article.created.
Updated
article.updated.
Other
Any other event; data is None and the frame is reachable through raw_json().
Implementations§
Trait Implementations§
Source§impl Clone for StreamEventKind
impl Clone for StreamEventKind
impl Copy for StreamEventKind
Source§impl Debug for StreamEventKind
impl Debug for StreamEventKind
impl Eq for StreamEventKind
Source§impl Hash for StreamEventKind
impl Hash for StreamEventKind
Source§impl PartialEq for StreamEventKind
impl PartialEq for StreamEventKind
impl StructuralPartialEq for StreamEventKind
Auto Trait Implementations§
impl Forget for StreamEventKind
impl Freeze for StreamEventKind
impl Move for StreamEventKind
impl RefUnwindSafe for StreamEventKind
impl Send for StreamEventKind
impl Sync for StreamEventKind
impl Unpin for StreamEventKind
impl UnsafeUnpin for StreamEventKind
impl UnwindSafe for StreamEventKind
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