pub struct BodyCommandProposal {
pub action: String,
pub channel: String,
pub value: Value,
pub reason: String,
pub kind: ChannelKind,
pub applied: bool,
pub ts_ms: u64,
}Expand description
Structured actuator command proposal emitted before token-gated execution.
Fields§
§action: String§channel: String§value: Value§reason: String§kind: ChannelKind§applied: bool§ts_ms: u64Trait Implementations§
Source§impl Clone for BodyCommandProposal
impl Clone for BodyCommandProposal
Source§impl Debug for BodyCommandProposal
impl Debug for BodyCommandProposal
Source§impl<'de> Deserialize<'de> for BodyCommandProposal
impl<'de> Deserialize<'de> for BodyCommandProposal
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
Source§impl PartialEq for BodyCommandProposal
impl PartialEq for BodyCommandProposal
Source§impl Serialize for BodyCommandProposal
impl Serialize for BodyCommandProposal
impl StructuralPartialEq for BodyCommandProposal
Auto Trait Implementations§
impl Forget for BodyCommandProposal
impl Freeze for BodyCommandProposalwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for BodyCommandProposal
impl RefUnwindSafe for BodyCommandProposal
impl Send for BodyCommandProposal
impl Sync for BodyCommandProposal
impl Unpin for BodyCommandProposal
impl UnsafeUnpin for BodyCommandProposalwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for BodyCommandProposal
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