Struct helium_api::models::Hotspot [−][src]
pub struct Hotspot {Show 13 fields
pub address: String,
pub owner: String,
pub name: Option<String>,
pub added_height: Option<u64>,
pub lat: Option<f64>,
pub lng: Option<f64>,
pub location: Option<String>,
pub mode: HotspotStakingMode,
pub elevation: Option<i32>,
pub gain: Option<Dbi>,
pub geocode: Geocode,
pub nonce: u64,
pub speculative_nonce: u64,
}Fields
address: StringThe address of the hotspots. This is the public key in base58 check-encoding of the hotspot.
owner: StringThe hotspot owner wallet address
name: Option<String>The “animal” name of the hotspot. The name can be None for
some API endpoints.
added_height: Option<u64>The block height when the hotspot was added to the blockchain
lat: Option<f64>The last asserted latitude of the hotspot
lng: Option<f64>The last asserted longitude of the hotspot
location: Option<String>The h3 index based on the lat/lon of the hotspot is used for PoC challenges.
mode: HotspotStakingModeThe mode in which the hotspots was added to the network.
elevation: Option<i32>The elevation (in meters) above or belowo sea level
gain: Option<Dbi>The gain (in dbi) above or belowo sea level
geocode: GeocodeThe geocode information for the hotspot location
nonce: u64The current nonce for the hotspot
speculative_nonce: u64The speculative nonce for the hotspot. This field is only meaningful when a single hotspot is requested
Trait Implementations
fn 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 Hotspotimpl UnwindSafe for HotspotBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more