#[non_exhaustive]pub struct NearestUnit {
pub postcode: String,
pub display: String,
pub distance_m: Option<f64>,
pub confidence: Option<String>,
pub state_name: Option<String>,
pub lga_name: Option<String>,
pub locality_name: Option<String>,
pub address: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.postcode: String§display: String§distance_m: Option<f64>§confidence: Option<String>high, medium or low, graded by distance.
state_name: Option<String>Level 2.
lga_name: Option<String>Level 2.
locality_name: Option<String>Level 2.
address: Option<String>Level 2.
Trait Implementations§
Source§impl Clone for NearestUnit
impl Clone for NearestUnit
Source§impl Debug for NearestUnit
impl Debug for NearestUnit
Source§impl Default for NearestUnit
impl Default for NearestUnit
Source§impl PartialEq for NearestUnit
impl PartialEq for NearestUnit
impl StructuralPartialEq for NearestUnit
Auto Trait Implementations§
impl Freeze for NearestUnit
impl RefUnwindSafe for NearestUnit
impl Send for NearestUnit
impl Sync for NearestUnit
impl Unpin for NearestUnit
impl UnsafeUnpin for NearestUnit
impl UnwindSafe for NearestUnit
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