pub enum UpdateAction {
UpdateLast(Candlestick),
AppendNew(Candlestick),
None,
}
Variants§
Trait Implementations§
source§impl Clone for UpdateAction
impl Clone for UpdateAction
source§fn clone(&self) -> UpdateAction
fn clone(&self) -> UpdateAction
Returns a copy 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 UpdateAction
impl Debug for UpdateAction
source§impl PartialEq for UpdateAction
impl PartialEq for UpdateAction
source§fn eq(&self, other: &UpdateAction) -> bool
fn eq(&self, other: &UpdateAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UpdateAction
impl Eq for UpdateAction
impl StructuralEq for UpdateAction
impl StructuralPartialEq for UpdateAction
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAction
impl Send for UpdateAction
impl Sync for UpdateAction
impl Unpin for UpdateAction
impl UnwindSafe for UpdateAction
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