pub enum RecurringState {
Active,
Paused,
Deleted,
}Expand description
Lifecycle state of a recurring investment schedule.
Deleted is an internal sentinel set by cancel_recurring_investment;
it is hidden from the CLI (#[clap(skip)]) - callers cancel via the
dedicated recurring cancel subcommand rather than --state deleted.
Variants§
Active
Schedule is running.
Paused
Schedule is paused (no investments execute, but the schedule persists).
Deleted
Schedule has been cancelled. Internal use only.
Trait Implementations§
Source§impl Clone for RecurringState
impl Clone for RecurringState
Source§fn clone(&self) -> RecurringState
fn clone(&self) -> RecurringState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecurringState
Source§impl Debug for RecurringState
impl Debug for RecurringState
Source§impl<'de> Deserialize<'de> for RecurringState
impl<'de> Deserialize<'de> for RecurringState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RecurringState
impl Display for RecurringState
impl Eq for RecurringState
Source§impl PartialEq for RecurringState
impl PartialEq for RecurringState
Source§impl Serialize for RecurringState
impl Serialize for RecurringState
impl StructuralPartialEq for RecurringState
Auto Trait Implementations§
impl Freeze for RecurringState
impl RefUnwindSafe for RecurringState
impl Send for RecurringState
impl Sync for RecurringState
impl Unpin for RecurringState
impl UnsafeUnpin for RecurringState
impl UnwindSafe for RecurringState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.