[−][src]Module instances_social::versions
List versions
use instances_social::Client; const TOKEN: &'static str = "..."; fn main() -> Result<(), Box<std::error::Error>> { let client = Client::new(TOKEN); let result = client.versions() .list() // returns this builder .count(100) // sets the ?count=100 querystring param // ...etc .send()?; // actually sends the request Ok(()) }
Show version
use instances_social::Client; const TOKEN: &'static str = "..."; fn main() -> Result<(), Box<std::error::Error>> { let client = Client::new(TOKEN); let result = client.versions() .show("2.7.0") // returns this builder // ...etc .send()?; // actually sends the request Ok(()) }
Re-exports
pub use crate::versions::list::ListRequestBuilder; |
pub use crate::versions::show::ShowRequestBuilder; |
Modules
list | Builder for the /versions/list API call |
response | Responses for the /versions/* endpoints |
show | Builder for the /versions/show API call |