struct PiStarReflector {
name: String,
reflector_type: String,
ipv4: String,
}Expand description
A single reflector entry from the Pi-Star host file.
Each entry provides the reflector’s callsign (name), protocol type, and
IPv4 address. There is no dashboard URL or country information in this
data source — those fields are left as None during upsert.
Fields§
§name: StringReflector callsign, e.g. "REF001", "XRF320", "DCS001".
reflector_type: StringProtocol type as labelled by Pi-Star: "REF", "XRF", or "DCS".
ipv4: StringIPv4 address of the reflector.
Trait Implementations§
Source§impl Debug for PiStarReflector
impl Debug for PiStarReflector
Source§impl<'de> Deserialize<'de> for PiStarReflector
impl<'de> Deserialize<'de> for PiStarReflector
Source§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 Freeze for PiStarReflector
impl RefUnwindSafe for PiStarReflector
impl Send for PiStarReflector
impl Sync for PiStarReflector
impl Unpin for PiStarReflector
impl UnwindSafe for PiStarReflector
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more