Struct sGCDatapoint
#[repr(C)]pub struct sGCDatapoint {
pub name: *const i8,
pub description: *const i8,
pub id: u64,
pub unit: *const i8,
}Expand description
@brief Datapoint information The information about a datapoint, each DatapointValue will belong to a specific Datapoint which can be verified by it’s ID which is unique for the entire Gateway/plugins.
Fields§
§name: *const i8@brief The name of the datapoint
description: *const i8@brief The description of the datapoint
id: u64@brief The id of the datapoint
unit: *const i8@brief The unit of the datapoint
Trait Implementations§
§impl Clone for sGCDatapoint
impl Clone for sGCDatapoint
§fn clone(&self) -> sGCDatapoint
fn clone(&self) -> sGCDatapoint
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 more§impl Debug for sGCDatapoint
impl Debug for sGCDatapoint
impl Copy for sGCDatapoint
Auto Trait Implementations§
impl Freeze for sGCDatapoint
impl RefUnwindSafe for sGCDatapoint
impl !Send for sGCDatapoint
impl !Sync for sGCDatapoint
impl Unpin for sGCDatapoint
impl UnsafeUnpin for sGCDatapoint
impl UnwindSafe for sGCDatapoint
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