Struct hubcaps::gists::GistOptions [−][src]
pub struct GistOptions { 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 GistOptions
[src]
impl GistOptions
pub fn new<D, K, V>(
desc: Option<D>,
public: bool,
files: HashMap<K, V>
) -> GistOptions where
D: Into<String>,
K: Hash + Eq + Into<String>,
V: Into<String>,
[src]
pub fn new<D, K, V>(
desc: Option<D>,
public: bool,
files: HashMap<K, V>
) -> GistOptions where
D: Into<String>,
K: Hash + Eq + Into<String>,
V: Into<String>,
pub fn builder<K, V>(files: HashMap<K, V>) -> GistOptionsBuilder where
K: Clone + Hash + Eq + Into<String>,
V: Into<String>,
[src]
pub fn builder<K, V>(files: HashMap<K, V>) -> GistOptionsBuilder where
K: Clone + Hash + Eq + Into<String>,
V: Into<String>,
Trait Implementations
impl Debug for GistOptions
[src]
impl Debug for GistOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for GistOptions
[src]
impl Default for GistOptions
fn default() -> GistOptions
[src]
fn default() -> GistOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for GistOptions
impl Send for GistOptions
impl Sync for GistOptions
impl Sync for GistOptions