pub struct CasterEntry {
pub host: String,
pub port: u16,
pub identifier: String,
pub operator: String,
pub nmea_required: bool,
pub country: String,
pub latitude: f64,
pub longitude: f64,
pub fallback_host: String,
pub fallback_port: u16,
pub misc: String,
}Expand description
A caster entry from the sourcetable.
Fields§
§host: StringCaster hostname
port: u16Caster port
identifier: StringCaster identifier
operator: StringOperator name
nmea_required: boolWhether NMEA is required
country: StringCountry code
latitude: f64Latitude
longitude: f64Longitude
fallback_host: StringFallback host
fallback_port: u16Fallback port
misc: StringMiscellaneous info
Trait Implementations§
Source§impl Clone for CasterEntry
impl Clone for CasterEntry
Source§fn clone(&self) -> CasterEntry
fn clone(&self) -> CasterEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CasterEntry
impl Debug for CasterEntry
Source§impl Default for CasterEntry
impl Default for CasterEntry
Source§fn default() -> CasterEntry
fn default() -> CasterEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CasterEntry
impl RefUnwindSafe for CasterEntry
impl Send for CasterEntry
impl Sync for CasterEntry
impl Unpin for CasterEntry
impl UnwindSafe for CasterEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more