#[repr(C)]pub struct SerialServiceEvent {
pub event: SerialServiceEventType,
pub data: SerialServiceData,
}Fields§
§event: SerialServiceEventType§data: SerialServiceDataTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialServiceEvent
Auto Trait Implementations§
impl !Send for SerialServiceEvent
impl !Sync for SerialServiceEvent
impl Freeze for SerialServiceEvent
impl RefUnwindSafe for SerialServiceEvent
impl Unpin for SerialServiceEvent
impl UnsafeUnpin 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