pub struct RadioRegion {
pub name: String,
pub code: RegionCode,
}Expand description
A region as the radio sees it: a name and its 2-byte code.
Fields§
§name: StringThe configured region string.
code: RegionCodeIts canonical code.
Trait Implementations§
Source§impl Clone for RadioRegion
impl Clone for RadioRegion
Source§fn clone(&self) -> RadioRegion
fn clone(&self) -> RadioRegion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RadioRegion
impl Debug for RadioRegion
Source§impl PartialEq for RadioRegion
impl PartialEq for RadioRegion
impl Eq for RadioRegion
impl StructuralPartialEq for RadioRegion
Auto Trait Implementations§
impl Freeze for RadioRegion
impl RefUnwindSafe for RadioRegion
impl Send for RadioRegion
impl Sync for RadioRegion
impl Unpin for RadioRegion
impl UnwindSafe for RadioRegion
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)