pub struct SingleRingConstraintSetV2 {
pub shards: u32,
pub ordering: OrderingV1,
pub producer: SingleRingProducerV1,
pub scheduling: SingleRingSchedulingV1,
pub shard_key: ShardKeyV1,
}Expand description
SingleRing-specific authoring constraints for the full-parity source contract.
Fields§
§shards: u32Desired shard count.
ordering: OrderingV1Desired ordering semantics.
producer: SingleRingProducerV1Desired producer model.
scheduling: SingleRingSchedulingV1Desired scheduling model.
shard_key: ShardKeyV1Desired shard-key extractor.
Trait Implementations§
Source§impl Clone for SingleRingConstraintSetV2
impl Clone for SingleRingConstraintSetV2
Source§fn clone(&self) -> SingleRingConstraintSetV2
fn clone(&self) -> SingleRingConstraintSetV2
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 SingleRingConstraintSetV2
impl Debug for SingleRingConstraintSetV2
Source§impl Default for SingleRingConstraintSetV2
Available on crate feature alloc only.
impl Default for SingleRingConstraintSetV2
Available on crate feature
alloc only.Source§impl<'de> Deserialize<'de> for SingleRingConstraintSetV2
impl<'de> Deserialize<'de> for SingleRingConstraintSetV2
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 SingleRingConstraintSetV2
impl StructuralPartialEq for SingleRingConstraintSetV2
Auto Trait Implementations§
impl Freeze for SingleRingConstraintSetV2
impl RefUnwindSafe for SingleRingConstraintSetV2
impl Send for SingleRingConstraintSetV2
impl Sync for SingleRingConstraintSetV2
impl Unpin for SingleRingConstraintSetV2
impl UnwindSafe for SingleRingConstraintSetV2
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