pub struct Source<'a> {
pub channel: Channel<'a>,
pub meter: Address,
}Expand description
The meter and register commissioned for one gas channel.
Fields§
§channel: Channel<'a>The volume register OBIS (for example 7-0:3.0.0*255) with unit m³.
meter: AddressManufacturer, identification number and medium from the meter’s key sheet. The version field is ignored.
Trait Implementations§
impl<'a> Copy for Source<'a>
impl<'a> Eq for Source<'a>
impl<'a> StructuralPartialEq for Source<'a>
Auto Trait Implementations§
impl<'a> Freeze for Source<'a>
impl<'a> RefUnwindSafe for Source<'a>
impl<'a> Send for Source<'a>
impl<'a> Sync for Source<'a>
impl<'a> Unpin for Source<'a>
impl<'a> UnsafeUnpin for Source<'a>
impl<'a> UnwindSafe for Source<'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