pub struct StopsQuery {
pub text: String,
pub near: Option<(f64, f64)>,
pub count: u32,
}Expand description
A search for stops.
Fields§
§text: String§near: Option<(f64, f64)>Prefer stops near (lat, lon).
count: u32At most MAX_STOPS.
Trait Implementations§
Source§impl Clone for StopsQuery
impl Clone for StopsQuery
Source§impl Debug for StopsQuery
impl Debug for StopsQuery
Source§impl Default for StopsQuery
impl Default for StopsQuery
Source§impl PartialEq for StopsQuery
impl PartialEq for StopsQuery
impl StructuralPartialEq for StopsQuery
Auto Trait Implementations§
impl Forget for StopsQuery
impl Freeze for StopsQuery
impl Move for StopsQuery
impl RefUnwindSafe for StopsQuery
impl Send for StopsQuery
impl Sync for StopsQuery
impl Unpin for StopsQuery
impl UnsafeUnpin for StopsQuery
impl UnwindSafe for StopsQuery
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