pub struct Channel<'a> {
pub meter_id: &'a str,
pub quantity: Quantity,
}Fields§
§meter_id: &'a str§quantity: QuantityTrait Implementations§
impl<'a> Copy for Channel<'a>
impl<'a> Eq for Channel<'a>
impl<'a> StructuralPartialEq for Channel<'a>
Auto Trait Implementations§
impl<'a> Freeze for Channel<'a>
impl<'a> RefUnwindSafe for Channel<'a>
impl<'a> Send for Channel<'a>
impl<'a> Sync for Channel<'a>
impl<'a> Unpin for Channel<'a>
impl<'a> UnsafeUnpin for Channel<'a>
impl<'a> UnwindSafe for Channel<'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