#[repr(C)]pub struct SerialServiceEvent {
pub event: SerialServiceEventType,
pub data: SerialServiceData,
}
Fields§
§event: SerialServiceEventType
§data: SerialServiceData
Trait Implementations§
Source§impl Clone for SerialServiceEvent
impl Clone for SerialServiceEvent
Source§fn clone(&self) -> SerialServiceEvent
fn clone(&self) -> SerialServiceEvent
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 SerialServiceEvent
impl Debug for SerialServiceEvent
impl Copy for SerialServiceEvent
Auto Trait Implementations§
impl Freeze for SerialServiceEvent
impl RefUnwindSafe for SerialServiceEvent
impl !Send for SerialServiceEvent
impl !Sync for SerialServiceEvent
impl Unpin for SerialServiceEvent
impl UnwindSafe for SerialServiceEvent
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