pub struct OperatorGateStateV1 {
pub kind: OperatorGateKindV1,
pub subject: OperatorGateSubjectV1,
pub input: OperatorGateInputV1,
pub options: Vec<OperatorGateOptionV1>,
}Expand description
Exact mirror of gate4agent_types::OperatorGateState: this crate has no
dependency on gate4agent-types (see the doc comment on
HarnessTerminalControlV1), so the node’s gate classification is
duplicated here as its own closed wire shape rather than imported.
hatchery-harness-service is the single place that maps one into the
other (map_operator_gate), so a field added to one side without the
other fails to compile there.
Fields§
§kind: OperatorGateKindV1§subject: OperatorGateSubjectV1§input: OperatorGateInputV1§options: Vec<OperatorGateOptionV1>Trait Implementations§
Source§impl Clone for OperatorGateStateV1
impl Clone for OperatorGateStateV1
Source§impl Debug for OperatorGateStateV1
impl Debug for OperatorGateStateV1
Source§impl<'de> Deserialize<'de> for OperatorGateStateV1
impl<'de> Deserialize<'de> for OperatorGateStateV1
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 OperatorGateStateV1
Source§impl PartialEq for OperatorGateStateV1
impl PartialEq for OperatorGateStateV1
Source§impl Serialize for OperatorGateStateV1
impl Serialize for OperatorGateStateV1
impl StructuralPartialEq for OperatorGateStateV1
Auto Trait Implementations§
impl Freeze for OperatorGateStateV1
impl RefUnwindSafe for OperatorGateStateV1
impl Send for OperatorGateStateV1
impl Sync for OperatorGateStateV1
impl Unpin for OperatorGateStateV1
impl UnsafeUnpin for OperatorGateStateV1
impl UnwindSafe for OperatorGateStateV1
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