Struct bluerobotics_ping::ping1d::PingIntervalStruct
source · pub struct PingIntervalStruct {
pub ping_interval: u16,
}Expand description
The interval between acoustic measurements.
Fields§
§ping_interval: u16The minimum interval between acoustic measurements. The actual interval may be longer.
Trait Implementations§
source§impl Clone for PingIntervalStruct
impl Clone for PingIntervalStruct
source§fn clone(&self) -> PingIntervalStruct
fn clone(&self) -> PingIntervalStruct
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 PingIntervalStruct
impl Debug for PingIntervalStruct
source§impl Default for PingIntervalStruct
impl Default for PingIntervalStruct
source§fn default() -> PingIntervalStruct
fn default() -> PingIntervalStruct
Returns the “default value” for a type. Read more
source§impl DeserializePayload for PingIntervalStruct
impl DeserializePayload for PingIntervalStruct
fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for PingIntervalStruct
impl PartialEq for PingIntervalStruct
source§fn eq(&self, other: &PingIntervalStruct) -> bool
fn eq(&self, other: &PingIntervalStruct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PingIntervalStruct
Auto Trait Implementations§
impl Freeze for PingIntervalStruct
impl RefUnwindSafe for PingIntervalStruct
impl Send for PingIntervalStruct
impl Sync for PingIntervalStruct
impl Unpin for PingIntervalStruct
impl UnwindSafe for PingIntervalStruct
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