#[derive(PathMatch)] #[path = "/foo/bar/:id"] struct GetPost { id: u64, } get(GetPost::endpoint()) .map(|GetPost { id }| ... )
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
#[derive(PathMatch)] #[path = "/foo/bar/:id"] struct GetPost { id: u64, } get(GetPost::endpoint()) .map(|GetPost { id }| ... )