Skip to main content

with_reported_cost

Function with_reported_cost 

Source
pub fn with_reported_cost(document: &str) -> Option<String>
Expand description

document as this source sends it, selecting what GitHub charged the request: [REPORTED_COST] as the first field of its operation — or None for a mutation, whose rateLimit GitHub offers no way to select, and for a document already selecting one.

A rewrite of the one text sent, at the one place a document leaves for GitHub, rather than a second set of documents: every constant here stays the document it prices as, and without_reported_cost is the exact inverse a loopback board answers a document by.