pub struct PlanConstraintSet {
pub boundary_lane: LaneIntent,
pub shards: u32,
pub ordering: OrderingV1,
pub producer: SingleRingProducerV1,
pub scheduling: SingleRingSchedulingV1,
pub shard_key: ShardKeyV1,
}Expand description
Lowering constraints attached to a plan.
Fields§
§boundary_lane: LaneIntentDefault boundary lane intent used for ingress and egress boundaries.
shards: u32Desired shard count for SingleRing lowering.
ordering: OrderingV1Desired ordering for SingleRing lowering.
producer: SingleRingProducerV1Desired producer model for SingleRing lowering.
scheduling: SingleRingSchedulingV1Desired scheduling model for SingleRing lowering.
shard_key: ShardKeyV1Desired shard-key extractor for SingleRing lowering.
Trait Implementations§
Source§impl Clone for PlanConstraintSet
impl Clone for PlanConstraintSet
Source§fn clone(&self) -> PlanConstraintSet
fn clone(&self) -> PlanConstraintSet
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 PlanConstraintSet
impl Debug for PlanConstraintSet
Source§impl Default for PlanConstraintSet
Available on crate feature alloc only.
impl Default for PlanConstraintSet
Available on crate feature
alloc only.Source§impl<'de> Deserialize<'de> for PlanConstraintSet
impl<'de> Deserialize<'de> for PlanConstraintSet
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 PartialEq for PlanConstraintSet
impl PartialEq for PlanConstraintSet
Source§impl Serialize for PlanConstraintSet
impl Serialize for PlanConstraintSet
impl Eq for PlanConstraintSet
impl StructuralPartialEq for PlanConstraintSet
Auto Trait Implementations§
impl Freeze for PlanConstraintSet
impl RefUnwindSafe for PlanConstraintSet
impl Send for PlanConstraintSet
impl Sync for PlanConstraintSet
impl Unpin for PlanConstraintSet
impl UnwindSafe for PlanConstraintSet
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