Struct lotus_script::message::ButtonEvent
source · pub struct ButtonEvent {
pub id: String,
pub value: bool,
pub cockpit_index: u8,
}
Fields§
§id: String
§value: bool
§cockpit_index: u8
Trait Implementations§
source§impl Debug for ButtonEvent
impl Debug for ButtonEvent
source§impl<'de> Deserialize<'de> for ButtonEvent
impl<'de> Deserialize<'de> for ButtonEvent
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 MessageType for ButtonEvent
impl MessageType for ButtonEvent
Auto Trait Implementations§
impl Freeze for ButtonEvent
impl RefUnwindSafe for ButtonEvent
impl Send for ButtonEvent
impl Sync for ButtonEvent
impl Unpin for ButtonEvent
impl UnwindSafe for ButtonEvent
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