Struct gerritlib::changes::ChangeInfos
[−]
[src]
pub struct ChangeInfos { pub json: Option<Json>, }
Fields
json: Option<Json>
Methods
impl ChangeInfos
[src]
fn new() -> ChangeInfos
fn new_with_data(json: Option<Json>) -> ChangeInfos
fn as_string(&self, fields: &[String]) -> String
returns a String object of all objects and the needed fields.
fn fieldslist(&self) -> (usize, HashMap<String, usize>)
prints all selectable fields os a search string
returns two values. First one is the count of returned json objects and second value is a
HashMap
fn raw(&self) -> String
return the string in machinereadable format
Trait Implementations
impl Default for ChangeInfos
[src]
fn default() -> ChangeInfos
Returns the "default value" for a type. Read more