pub struct OverpassAPI { /* private fields */ }Implementations§
Source§impl OverpassAPI
impl OverpassAPI
pub fn new(url: String) -> Self
pub async fn query(&self, query: &str) -> Result<OverpassResponse, String>
pub fn query_sync(&self, query: &str) -> Result<OverpassResponse, String>
Auto Trait Implementations§
impl Freeze for OverpassAPI
impl !RefUnwindSafe for OverpassAPI
impl Send for OverpassAPI
impl Sync for OverpassAPI
impl Unpin for OverpassAPI
impl !UnwindSafe for OverpassAPI
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