pub struct Postal {
pub line: PostalLine,
pub range: Range<usize>,
pub locality: String,
}Expand description
A delivery line found in a query (Profile::postal), and where the
place it stands for is.
Fields§
§line: PostalLine§range: Range<usize>Where the line is in the raw query: replaced before searching.
locality: StringThe place named by the line, without the delivery words (“PARIS LA DEFENSE”): looked up in the index’s CEDEX table, searched when nothing better is known.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Postal
impl Freeze for Postal
impl Move for Postal
impl RefUnwindSafe for Postal
impl Send for Postal
impl Sync for Postal
impl Unpin for Postal
impl UnsafeUnpin for Postal
impl UnwindSafe for Postal
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