Struct chirpstack_api::as_pb::external::api::NetworkServer [−][src]
pub struct NetworkServer {}Show 13 fields
pub id: i64, pub name: String, pub server: String, pub ca_cert: String, pub tls_cert: String, pub tls_key: String, pub routing_profile_ca_cert: String, pub routing_profile_tls_cert: String, pub routing_profile_tls_key: String, pub gateway_discovery_enabled: bool, pub gateway_discovery_interval: u32, pub gateway_discovery_tx_frequency: u32, pub gateway_discovery_dr: u32,
Fields
id: i64
Network-server ID.
name: String
Network-server name.
server: String
Network-server server. Format: hostname:ip (e.g. localhost:8000).
ca_cert: String
CA certificate (optional).
tls_cert: String
TLS (client) certificate for connecting to the network-server (optional).
tls_key: String
TLS (client) key for connecting to the network-server (optional).
routing_profile_ca_cert: String
Routing-profile ca certificate (used by the network-server to connect back to the application-server) (optional).
routing_profile_tls_cert: String
Routing-profile TLS certificate (used by the network-server to connect back to the application-server) (optional).
routing_profile_tls_key: String
Routing-profile TLS key (used by the network-server to connect back to the application-server) (optional).
gateway_discovery_enabled: bool
Enable gateway discovery for this network-server.
gateway_discovery_interval: u32
The number of times per day the gateway discovery ‘ping’ must be broadcasted per gateway.
gateway_discovery_tx_frequency: u32
The frequency (Hz) of the gateway discovery ‘ping’.
gateway_discovery_dr: u32
The data-rate of the gateway discovery ‘ping’.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NetworkServer
impl Send for NetworkServer
impl Sync for NetworkServer
impl Unpin for NetworkServer
impl UnwindSafe for NetworkServer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request