pub struct SignalRecord {
pub kind: String,
pub response: String,
}Expand description
Record of a signal sent to a component.
Fields§
§kind: StringSignal kind (e.g., “Veto”, “Cancel”, “Approve”).
response: StringResponse from the component.
Trait Implementations§
Source§impl Clone for SignalRecord
impl Clone for SignalRecord
Source§fn clone(&self) -> SignalRecord
fn clone(&self) -> SignalRecord
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 SignalRecord
impl Debug for SignalRecord
Source§impl<'de> Deserialize<'de> for SignalRecord
impl<'de> Deserialize<'de> for SignalRecord
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
Auto Trait Implementations§
impl Freeze for SignalRecord
impl RefUnwindSafe for SignalRecord
impl Send for SignalRecord
impl Sync for SignalRecord
impl Unpin for SignalRecord
impl UnsafeUnpin for SignalRecord
impl UnwindSafe for SignalRecord
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