pub struct Config<'a> {
pub profile_id: &'a str,
pub channel: Channel<'a>,
pub pseudonym: Option<&'a str>,
pub first_utc: i64,
pub periodic: bool,
pub threshold: Option<Value>,
}Expand description
Configuration for a single-value block at each commissioned minute.
Fields§
§profile_id: &'a str§channel: Channel<'a>§pseudonym: Option<&'a str>When set, all reports substitute this reference for the physical meter ID. Use a non-identifying profile ID and a separately commissioned pseudonym.
first_utc: i64§periodic: bool§threshold: Option<Value>Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnsafeUnpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
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