Struct sPluginConfig
#[repr(C)]pub struct sPluginConfig {
pub pluginJsonConfig: *const sGCJsonCallbacks,
pub ownDatapoints: *const sGCDatapoint,
pub ownDatapointsCount: u64,
pub subscribedDatapoints: *const sGCDatapoint,
pub subscribedDatapointsCount: u64,
}Expand description
@brief Holds the configuration and related functions
This struct holds the configuration of the plugin and the related functions that the plugin can use.
Fields§
§pluginJsonConfig: *const sGCJsonCallbacksStructure containing the configuration specific to this plugin and respective callbacks
ownDatapoints: *const sGCDatapointAn array with size @ref ownDatapointsCount that contains information about each datapoint where the plugin is allowed to publish. This will be all the datapoints, where the current instance was set as a publisher in the configuration.
ownDatapointsCount: u64§subscribedDatapoints: *const sGCDatapointAn array with size @ref subscribedDatapointsCount that contains information about each datapoint where the plugin is subscribed to. This will be all the datapoints, where the current instance was set as a subscriber in the configuration.
subscribedDatapointsCount: u64Trait Implementations§
§impl Clone for sPluginConfig
impl Clone for sPluginConfig
§fn clone(&self) -> sPluginConfig
fn clone(&self) -> sPluginConfig
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 sPluginConfig
impl Debug for sPluginConfig
impl Copy for sPluginConfig
Auto Trait Implementations§
impl Freeze for sPluginConfig
impl RefUnwindSafe for sPluginConfig
impl !Send for sPluginConfig
impl !Sync for sPluginConfig
impl Unpin for sPluginConfig
impl UnsafeUnpin for sPluginConfig
impl UnwindSafe for sPluginConfig
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