pub struct PromotionResult { /* private fields */ }Expand description
Result of promoting scheduled runs to ready.
This structure contains the runs that were promoted from Scheduled to Ready and the remaining runs that are still in Scheduled state ( waiting for their scheduled_at time to pass).
Implementations§
Source§impl PromotionResult
impl PromotionResult
Sourcepub fn promoted(&self) -> &[RunInstance]
pub fn promoted(&self) -> &[RunInstance]
Returns the runs that were promoted from Scheduled to Ready.
Sourcepub fn remaining_scheduled(&self) -> &[RunInstance]
pub fn remaining_scheduled(&self) -> &[RunInstance]
Returns the runs that remain in Scheduled state.
Trait Implementations§
Source§impl Clone for PromotionResult
impl Clone for PromotionResult
Source§fn clone(&self) -> PromotionResult
fn clone(&self) -> PromotionResult
Returns a duplicate 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 PromotionResult
impl Debug for PromotionResult
Source§impl PartialEq for PromotionResult
impl PartialEq for PromotionResult
impl Eq for PromotionResult
impl StructuralPartialEq for PromotionResult
Auto Trait Implementations§
impl Freeze for PromotionResult
impl RefUnwindSafe for PromotionResult
impl Send for PromotionResult
impl Sync for PromotionResult
impl Unpin for PromotionResult
impl UnsafeUnpin for PromotionResult
impl UnwindSafe for PromotionResult
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