pub enum TierPlan {
Stay(SegmentTier),
Transition {
from: SegmentTier,
to: SegmentTier,
},
}Expand description
Pure policy result for one segment.
Variants§
Stay(SegmentTier)
Keep using the segment’s published tier.
Transition
Build and atomically publish the named one-way transition.
Fields
§
from: SegmentTierPublished tier before maintenance.
§
to: SegmentTierTier earned after maintenance.
Trait Implementations§
impl Copy for TierPlan
impl Eq for TierPlan
impl StructuralPartialEq for TierPlan
Auto Trait Implementations§
impl Freeze for TierPlan
impl RefUnwindSafe for TierPlan
impl Send for TierPlan
impl Sync for TierPlan
impl Unpin for TierPlan
impl UnsafeUnpin for TierPlan
impl UnwindSafe for TierPlan
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