[][src]Struct chirpstack_api::as_pb::external::api::Gateway

pub struct Gateway {
    pub id: String,
    pub name: String,
    pub description: String,
    pub location: Option<Location>,
    pub organization_id: i64,
    pub discovery_enabled: bool,
    pub network_server_id: i64,
    pub gateway_profile_id: String,
    pub boards: Vec<GatewayBoard>,
    pub tags: HashMap<String, String>,
    pub metadata: HashMap<String, String>,
}

Fields

id: String

Gateway ID (HEX encoded).

name: String

Gateway name.

description: String

Gateway description.

location: Option<Location>

Gateway location.

organization_id: i64

Organization ID to which the gateway belongs. This can't be changed after creating the gateway.

discovery_enabled: bool

Set to true to enable gateway discovery.

network_server_id: i64

Network-server ID on which the gateway is provisioned.

gateway_profile_id: String

Gateway-profile ID (UUID string, optional).

boards: Vec<GatewayBoard>

Gateway boards configuration (optional). This is (currently) only needed when the gateway supports the fine-timestamp and you you would like to add the FPGA ID to the gateway meta-data or would like ChirpStack Network Server to decrypt the fine-timestamp.

tags: HashMap<String, String>

Tags (user defined).

metadata: HashMap<String, String>

Metadata (provided by the gateway).

Trait Implementations

impl Clone for Gateway[src]

impl Debug for Gateway[src]

impl Default for Gateway[src]

impl Message for Gateway[src]

impl PartialEq<Gateway> for Gateway[src]

impl StructuralPartialEq for Gateway[src]

Auto Trait Implementations

impl RefUnwindSafe for Gateway

impl Send for Gateway

impl Sync for Gateway

impl Unpin for Gateway

impl UnwindSafe for Gateway

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]