pub struct WeatherConfig {
pub alert: bool,
pub auto_scan: bool,
}Expand description
Weather alert receiver configuration (TH-D75A only).
Controls the weather alert monitoring and automatic weather channel scanning features. These features are only available on the Americas model (TH-D75A); they are not present on the European model (TH-D75E).
Fields§
§alert: boolEnable weather alert monitoring.
When enabled, the radio periodically checks NOAA Weather Radio frequencies for 1050 Hz weather alert tones and sounds an alarm when detected.
auto_scan: boolEnable automatic weather channel scanning.
When enabled, the radio scans all 10 NOAA Weather Radio channels to find the strongest signal for the current location.
Trait Implementations§
Source§impl Clone for WeatherConfig
impl Clone for WeatherConfig
Source§fn clone(&self) -> WeatherConfig
fn clone(&self) -> WeatherConfig
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 WeatherConfig
impl Debug for WeatherConfig
Source§impl Default for WeatherConfig
impl Default for WeatherConfig
Source§fn default() -> WeatherConfig
fn default() -> WeatherConfig
Returns the “default value” for a type. Read more
Source§impl Hash for WeatherConfig
impl Hash for WeatherConfig
Source§impl PartialEq for WeatherConfig
impl PartialEq for WeatherConfig
impl Copy for WeatherConfig
impl Eq for WeatherConfig
impl StructuralPartialEq for WeatherConfig
Auto Trait Implementations§
impl Freeze for WeatherConfig
impl RefUnwindSafe for WeatherConfig
impl Send for WeatherConfig
impl Sync for WeatherConfig
impl Unpin for WeatherConfig
impl UnwindSafe for WeatherConfig
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