pub struct StateModelProposedOperation {
pub agent_id: String,
pub operation_type: String,
pub resources_needed: Vec<String>,
pub resources_produced: Vec<String>,
}Expand description
A proposed operation to validate (for the three-state model)
Fields§
§agent_id: StringID of the agent proposing the operation.
operation_type: StringType of proposed operation.
resources_needed: Vec<String>Resources needed by the operation.
resources_produced: Vec<String>Resources that will be produced.
Trait Implementations§
Source§impl Clone for StateModelProposedOperation
impl Clone for StateModelProposedOperation
Source§fn clone(&self) -> StateModelProposedOperation
fn clone(&self) -> StateModelProposedOperation
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 moreAuto Trait Implementations§
impl Freeze for StateModelProposedOperation
impl RefUnwindSafe for StateModelProposedOperation
impl Send for StateModelProposedOperation
impl Sync for StateModelProposedOperation
impl Unpin for StateModelProposedOperation
impl UnsafeUnpin for StateModelProposedOperation
impl UnwindSafe for StateModelProposedOperation
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