pub struct SensorMapping {
pub source_key: String,
pub id: Uuid,
pub created: bool,
pub serial_claimed_by: Option<Uuid>,
}Expand description
The API-side identity a registered instrument resolved to.
Fields§
§source_key: String§id: Uuid§created: boolFalse when the API already held an instrument under this key.
serial_claimed_by: Option<Uuid>The instrument already holding the offered serial, when the API declined to claim it.
Trait Implementations§
Source§impl Clone for SensorMapping
impl Clone for SensorMapping
Source§fn clone(&self) -> SensorMapping
fn clone(&self) -> SensorMapping
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 moreAuto Trait Implementations§
impl Freeze for SensorMapping
impl RefUnwindSafe for SensorMapping
impl Send for SensorMapping
impl Sync for SensorMapping
impl Unpin for SensorMapping
impl UnsafeUnpin for SensorMapping
impl UnwindSafe for SensorMapping
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