pub struct SemanticStructuralCostDescriptor {
pub unit: Identity256,
pub cap: u64,
}Expand description
Task-independent unit and finite cap for native structural work. The unit names the versioned counting law and the resident program mode, not the authority, task identity, or outcome of a sampled candidate.
Fields§
§unit: Identity256§cap: u64Trait Implementations§
Source§impl Clone for SemanticStructuralCostDescriptor
impl Clone for SemanticStructuralCostDescriptor
Source§fn clone(&self) -> SemanticStructuralCostDescriptor
fn clone(&self) -> SemanticStructuralCostDescriptor
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 moreimpl Copy for SemanticStructuralCostDescriptor
impl Eq for SemanticStructuralCostDescriptor
impl StructuralPartialEq for SemanticStructuralCostDescriptor
Auto Trait Implementations§
impl Freeze for SemanticStructuralCostDescriptor
impl RefUnwindSafe for SemanticStructuralCostDescriptor
impl Send for SemanticStructuralCostDescriptor
impl Sync for SemanticStructuralCostDescriptor
impl Unpin for SemanticStructuralCostDescriptor
impl UnsafeUnpin for SemanticStructuralCostDescriptor
impl UnwindSafe for SemanticStructuralCostDescriptor
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more