[][src]Struct n2k::Product

pub struct Product<'a> { /* fields omitted */ }

Implementations

impl<'a> Product<'a>[src]

pub fn new(
    n2k: u8,
    code: u8,
    model: &'a str,
    software: &'a str,
    version: &'a str,
    serial: &'a str,
    certification: u8,
    load: u8
) -> Self
[src]

pub fn n2k(&self) -> u8[src]

pub fn code(&self) -> u8[src]

pub fn model(&self) -> &'a str[src]

pub fn software(&self) -> &'a str[src]

pub fn version(&self) -> &'a str[src]

pub fn serial(&self) -> &'a str[src]

pub fn certification(&self) -> u8[src]

pub fn load(&self) -> u8[src]

Auto Trait Implementations

impl<'a> Send for Product<'a>

impl<'a> Sync for Product<'a>

impl<'a> Unpin for Product<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.