Struct p25::message::nid::NetworkId [] [src]

pub struct NetworkId {
    pub access_code: NetworkAccessCode,
    pub data_unit: DataUnit,
}

NID word associated with each P25 packet.

Fields

NAC field.

DUID field.

Methods

impl NetworkId
[src]

[src]

Create an NID word from the given NAC and data unit.

[src]

Parse NID from the given 16-bit word.

[src]

Convert NID to 16-bit representation.

[src]

Encode NID into a byte sequence.

Trait Implementations

impl Copy for NetworkId
[src]

impl Clone for NetworkId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NetworkId
[src]

[src]

Formats the value using the given formatter. Read more