pub struct AssertionStepContract { /* private fields */ }Expand description
Context-free claims derived exactly from one canonical assertion plan.
Implementations§
Source§impl AssertionStepContract
impl AssertionStepContract
Sourcepub const fn id(&self) -> &MigrationStepId
pub const fn id(&self) -> &MigrationStepId
Return the step-local identity.
Sourcepub const fn plan_fingerprint(&self) -> &MigrationAssertionPlanFingerprint
pub const fn plan_fingerprint(&self) -> &MigrationAssertionPlanFingerprint
Return the canonical assertion-plan fingerprint.
Sourcepub const fn required_capabilities(&self) -> &CapabilitySet
pub const fn required_capabilities(&self) -> &CapabilitySet
Return capabilities derived from the assertion syntax and resolution contract.
Sourcepub const fn retry(&self) -> RetryPolicy
pub const fn retry(&self) -> RetryPolicy
Return the fixed no-replay retry policy.
Sourcepub const fn recovery(&self) -> RecoveryPolicy
pub const fn recovery(&self) -> RecoveryPolicy
Return the fixed operator-required recovery policy.
Sourcepub const fn source_semantics(&self) -> &ManagedSemanticSchemaFingerprint
pub const fn source_semantics(&self) -> &ManagedSemanticSchemaFingerprint
Return the exact source managed-semantic precondition.
Sourcepub const fn target_semantics(&self) -> &ManagedSemanticSchemaFingerprint
pub const fn target_semantics(&self) -> &ManagedSemanticSchemaFingerprint
Return the identical target managed-semantic postcondition.
Trait Implementations§
Source§impl Clone for AssertionStepContract
impl Clone for AssertionStepContract
Source§fn clone(&self) -> AssertionStepContract
fn clone(&self) -> AssertionStepContract
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 moreSource§impl Debug for AssertionStepContract
impl Debug for AssertionStepContract
impl Eq for AssertionStepContract
Source§impl PartialEq for AssertionStepContract
impl PartialEq for AssertionStepContract
Source§impl Serialize for AssertionStepContract
impl Serialize for AssertionStepContract
impl StructuralPartialEq for AssertionStepContract
Auto Trait Implementations§
impl Freeze for AssertionStepContract
impl RefUnwindSafe for AssertionStepContract
impl Send for AssertionStepContract
impl Sync for AssertionStepContract
impl Unpin for AssertionStepContract
impl UnsafeUnpin for AssertionStepContract
impl UnwindSafe for AssertionStepContract
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