pub struct OperationNode {
pub name: SpannedValue<String>,
pub precondition: SpannedValue<String>,
pub parameters: Vec<StateFieldNode>,
pub postcondition: SpannedValue<String>,
pub side_effects: Vec<SpannedValue<String>>,
pub idempotence: SpannedValue<String>,
pub span: Span,
}Fields§
§name: SpannedValue<String>§precondition: SpannedValue<String>§parameters: Vec<StateFieldNode>§postcondition: SpannedValue<String>§side_effects: Vec<SpannedValue<String>>§idempotence: SpannedValue<String>§span: SpanTrait Implementations§
Source§impl Clone for OperationNode
impl Clone for OperationNode
Source§fn clone(&self) -> OperationNode
fn clone(&self) -> OperationNode
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 OperationNode
impl Debug for OperationNode
Source§impl PartialEq for OperationNode
impl PartialEq for OperationNode
impl StructuralPartialEq for OperationNode
Auto Trait Implementations§
impl Freeze for OperationNode
impl RefUnwindSafe for OperationNode
impl Send for OperationNode
impl Sync for OperationNode
impl Unpin for OperationNode
impl UnwindSafe for OperationNode
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