#[non_exhaustive]pub struct Lookup {
pub postcode: String,
pub valid: bool,
pub administrative_address: Option<AdministrativeAddress>,
pub recent_house_address: Option<RecentHouseAddress>,
pub building_use_status: Option<String>,
pub other_building_info: Option<Value>,
pub point_geometry: Option<Value>,
pub status: Option<String>,
pub verified: Option<bool>,
}Expand description
Fields above the level granted to the key are None.
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§valid: boolRequired: a body without it is malformed, not an unassigned code.
administrative_address: Option<AdministrativeAddress>Level 2.
recent_house_address: Option<RecentHouseAddress>Level 2.
building_use_status: Option<String>Level 3.
other_building_info: Option<Value>Level 4. Undocumented, so left untyped.
point_geometry: Option<Value>Level 5. Undocumented, so left untyped.
status: Option<String>valid, not_found, or invalid for a malformed code. Sent at every level.
verified: Option<bool>Trait Implementations§
impl StructuralPartialEq for Lookup
Auto Trait Implementations§
impl Freeze for Lookup
impl RefUnwindSafe for Lookup
impl Send for Lookup
impl Sync for Lookup
impl Unpin for Lookup
impl UnsafeUnpin for Lookup
impl UnwindSafe for Lookup
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