Struct hubcaps::gists::Content
[−]
[src]
pub struct Content { pub filename: Option<String>, pub content: String, }
Fields
filename: Option<String>
content: String
Methods
impl Content
[src]
pub fn new<F, C>(filename: Option<F>, content: C) -> Content where
F: Into<String>,
C: Into<String>,
[src]
F: Into<String>,
C: Into<String>,
Trait Implementations
impl Debug for Content
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more