pub enum ActionAnchor {
AfterSlot,
BeforeMatch {
filter: DiscoveryFilter,
},
AfterMatch {
filter: DiscoveryFilter,
},
}Expand description
Where a ScheduledAction fires.
Variants§
AfterSlot
At the end of each slot, after its transactions execute but before it finalizes.
BeforeMatch
Before each batch matching filter executes.
Fields
§
filter: DiscoveryFilterAfterMatch
After each batch matching filter commits.
Fields
§
filter: DiscoveryFilterTrait Implementations§
Source§impl Clone for ActionAnchor
impl Clone for ActionAnchor
Source§fn clone(&self) -> ActionAnchor
fn clone(&self) -> ActionAnchor
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 moreSource§impl Debug for ActionAnchor
impl Debug for ActionAnchor
Source§impl Default for ActionAnchor
impl Default for ActionAnchor
Source§fn default() -> ActionAnchor
fn default() -> ActionAnchor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionAnchor
impl<'de> Deserialize<'de> for ActionAnchor
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
impl Eq for ActionAnchor
Source§impl PartialEq for ActionAnchor
impl PartialEq for ActionAnchor
Source§fn eq(&self, other: &ActionAnchor) -> bool
fn eq(&self, other: &ActionAnchor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionAnchor
impl Serialize for ActionAnchor
impl StructuralPartialEq for ActionAnchor
Auto Trait Implementations§
impl Freeze for ActionAnchor
impl RefUnwindSafe for ActionAnchor
impl Send for ActionAnchor
impl Sync for ActionAnchor
impl Unpin for ActionAnchor
impl UnsafeUnpin for ActionAnchor
impl UnwindSafe for ActionAnchor
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