Struct hubcaps::gists::GistOptionsBuilder
[−]
[src]
pub struct GistOptionsBuilder { pub description: Option<String>, pub public: Option<bool>, pub files: HashMap<String, Content>, }
Fields
description: Option<String>
public: Option<bool>
files: HashMap<String, Content>
Methods
impl GistOptionsBuilder
[src]
fn new<K, V>(files: HashMap<K, V>) -> GistOptionsBuilder where
K: Clone + Hash + Eq + Into<String>,
V: Into<String>,
K: Clone + Hash + Eq + Into<String>,
V: Into<String>,
fn description<D>(&mut self, desc: D) -> &mut GistOptionsBuilder where
D: Into<String>,
D: Into<String>,
fn public(&mut self, p: bool) -> &mut GistOptionsBuilder
fn build(&self) -> GistOptions
Trait Implementations
impl Default for GistOptionsBuilder
[src]
fn default() -> GistOptionsBuilder
Returns the "default value" for a type. Read more