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