pub struct PlannedOperationRecord { /* private fields */ }Expand description
Immutable canonical declared target/request/allowance for one exact graph node.
Implementations§
Source§impl PlannedOperationRecord
impl PlannedOperationRecord
Sourcepub fn new(request: PlannedOperationRequest) -> Result<Self, OperationPlanError>
pub fn new(request: PlannedOperationRequest) -> Result<Self, OperationPlanError>
Admit canonical declared operation identity; the plan validates selection/graph binding.
§Errors
Rejects malformed principal and request SHA-256 digest text.
Sourcepub const fn operation_sequence(&self) -> u64
pub const fn operation_sequence(&self) -> u64
Read the exact opaque graph operation sequence.
Sourcepub const fn budget(&self) -> &AttemptBudgetRecord
pub const fn budget(&self) -> &AttemptBudgetRecord
Read the original finite operation attempt limits.
Trait Implementations§
Source§impl Clone for PlannedOperationRecord
impl Clone for PlannedOperationRecord
Source§impl Debug for PlannedOperationRecord
impl Debug for PlannedOperationRecord
Source§impl<'de> Deserialize<'de> for PlannedOperationRecord
impl<'de> Deserialize<'de> for PlannedOperationRecord
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 PlannedOperationRecord
Source§impl PartialEq for PlannedOperationRecord
impl PartialEq for PlannedOperationRecord
Source§impl Serialize for PlannedOperationRecord
impl Serialize for PlannedOperationRecord
impl StructuralPartialEq for PlannedOperationRecord
Auto Trait Implementations§
impl Freeze for PlannedOperationRecord
impl RefUnwindSafe for PlannedOperationRecord
impl Send for PlannedOperationRecord
impl Sync for PlannedOperationRecord
impl Unpin for PlannedOperationRecord
impl UnsafeUnpin for PlannedOperationRecord
impl UnwindSafe for PlannedOperationRecord
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