Struct gazetta_model_ext::Link
[−]
[src]
pub struct Link {
pub text: String,
pub url: String,
}Fields
text: String
url: String
Methods
impl Link[src]
pub fn from_yaml(yaml: Yaml) -> Result<Self, &'static str>[src]
pub fn many_from_yaml(links: Yaml) -> Result<Vec<Self>, &'static str>[src]
Trait Implementations
impl Clone for Link[src]
fn clone(&self) -> Link[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more