MCPcopy Create free account
hub / github.com/GlenDC/github-rust / Populatable

Interface Populatable

src/response.rs:10–14  ·  view source on GitHub ↗

`Populatable` provides functionality to construct an object based on info found in the http response header

Source from the content-addressed store, hash-verified

8/// `Populatable` provides functionality to construct
9/// an object based on info found in the http response header
10pub trait Populatable {
11 /// `populate` constructs a new object based on the
12 /// information found in the http response header
13 fn populate(raw_header: &HttpHeaderType) -> Self;
14}
15
16/// `Rate` represents the X-Rate-Limit data
17/// provided by the Github v3 API and provided for each response

Callers

nothing calls this directly

Implementers 1

response.rssrc/response.rs

Calls

no outgoing calls

Tested by

no test coverage detected