Struct openstreetmap_api::Openstreetmap
source · [−]pub struct Openstreetmap {
pub host: String,
/* private fields */
}
Fields
host: String
Implementations
pub fn from_client<H>(host: H, credentials: Credentials, client: Client) -> Self where
H: Into<String>,
pub fn from_client<H>(host: H, credentials: Credentials, client: Client) -> Self where
H: Into<String>,
creates a new instance of a Openstreetmap client using a specified reqwest client
pub async fn changesets(
&self,
query: ChangesetQueryParams
) -> Result<Vec<Changeset>, OpenstreetmapError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Openstreetmap
impl Send for Openstreetmap
impl Sync for Openstreetmap
impl Unpin for Openstreetmap
impl !UnwindSafe for Openstreetmap
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more