Enum FinanceEventDetection
#[non_exhaustive]pub enum FinanceEventDetection<T> {
Detected(T),
NoEvent,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Implementations§
§impl<T> FinanceEventDetection<T>
impl<T> FinanceEventDetection<T>
pub fn is_detected(&self) -> bool
pub fn is_detected(&self) -> bool
pub fn is_no_event(&self) -> bool
pub fn is_no_event(&self) -> bool
Trait Implementations§
§impl<T: Clone> Clone for FinanceEventDetection<T>
impl<T: Clone> Clone for FinanceEventDetection<T>
§fn clone(&self) -> FinanceEventDetection<T>
fn clone(&self) -> FinanceEventDetection<T>
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl<T: PartialEq> PartialEq for FinanceEventDetection<T>
impl<T: PartialEq> PartialEq for FinanceEventDetection<T>
impl<T> StructuralPartialEq for FinanceEventDetection<T>
Auto Trait Implementations§
impl<T> Freeze for FinanceEventDetection<T>where
T: Freeze,
impl<T> RefUnwindSafe for FinanceEventDetection<T>where
T: RefUnwindSafe,
impl<T> Send for FinanceEventDetection<T>where
T: Send,
impl<T> Sync for FinanceEventDetection<T>where
T: Sync,
impl<T> Unpin for FinanceEventDetection<T>where
T: Unpin,
impl<T> UnwindSafe for FinanceEventDetection<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)