Skip to content

Instantly share code, notes, and snippets.

@samsieber

samsieber/example.rs

Created Nov 23, 2018
Embed
What would you like to do?
#[derive(Debug, JsonEndpoint)]
#[jupiter(
url = "https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}/values/{range}:append",
method = "POST",
ty = "self::append::AppendValuesResponse"
)]
pub struct AppendToRangeEndpoint {
spreadsheet_id: String,
range: String,
#[jupiter(role("Body"))]
body: ValueRange,
#[jupiter(role("Query"))]
query: self::append::AppendOptions,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.