Struct dapnet_api::Transmitter
source · [−]pub struct Transmitter {Show 22 fields
pub name: String,
pub usage: Usage,
pub longitude: String,
pub latitude: String,
pub timeslots: String,
pub owners: Vec<String>,
pub status: Status,
pub call_count: u64,
pub connection: Option<Connection>,
pub node: Option<String>,
pub auth_key: Option<String>,
pub device_type: Option<String>,
pub device_version: Option<String>,
pub power: String,
pub antenna_height_above_ground: i64,
pub antenna_type: AntennaType,
pub antenna_direction: f64,
pub antenna_gain: f64,
pub identification_address: i64,
pub last_update: DateTime<Utc>,
pub last_connected: Option<DateTime<Utc>>,
pub connected_since: Option<DateTime<Utc>>,
}
Fields
name: String
usage: Usage
longitude: String
latitude: String
timeslots: String
Textual representation of the timeslots the transmitter will be active on
owners: Vec<String>
status: Status
call_count: u64
connection: Option<Connection>
node: Option<String>
Name of the DAPNET node the transmitter connects to
auth_key: Option<String>
Key to be used for authentication by transmitter/modem Only present when the API user is the owner of the transmitter
device_type: Option<String>
device_version: Option<String>
power: String
Transmitter power in watts
antenna_height_above_ground: i64
Antenna elevation above ground in metres
antenna_type: AntennaType
antenna_direction: f64
Antenna direction in degrees (only relevant for directional antennas)
antenna_gain: f64
Antenna gain in dBi
identification_address: i64
last_update: DateTime<Utc>
Time when the transmitter details were last modified
last_connected: Option<DateTime<Utc>>
Time when the transmitter was last seen online
connected_since: Option<DateTime<Utc>>
Time at which the transmitter became online
Trait Implementations
sourceimpl Debug for Transmitter
impl Debug for Transmitter
sourceimpl<'de> Deserialize<'de> for Transmitter
impl<'de> Deserialize<'de> for Transmitter
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Transmitter
impl Send for Transmitter
impl Sync for Transmitter
impl Unpin for Transmitter
impl UnwindSafe for Transmitter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more