Struct tinkerforge::gps_v2_bricklet::StatusEvent
source · pub struct StatusEvent {
pub has_fix: bool,
pub satellites_view: u8,
}
Fields§
§has_fix: bool
§satellites_view: u8
Trait Implementations§
source§impl Clone for StatusEvent
impl Clone for StatusEvent
source§fn clone(&self) -> StatusEvent
fn clone(&self) -> StatusEvent
Returns a copy 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 StatusEvent
impl Debug for StatusEvent
source§impl Default for StatusEvent
impl Default for StatusEvent
source§fn default() -> StatusEvent
fn default() -> StatusEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for StatusEvent
impl FromByteSlice for StatusEvent
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> StatusEvent
fn from_le_byte_slice(bytes: &[u8]) -> StatusEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for StatusEvent
impl Hash for StatusEvent
source§impl PartialEq for StatusEvent
impl PartialEq for StatusEvent
source§fn eq(&self, other: &StatusEvent) -> bool
fn eq(&self, other: &StatusEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StatusEvent
impl Eq for StatusEvent
impl StructuralPartialEq for StatusEvent
Auto Trait Implementations§
impl RefUnwindSafe for StatusEvent
impl Send for StatusEvent
impl Sync for StatusEvent
impl Unpin for StatusEvent
impl UnwindSafe for StatusEvent
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