Struct kontrolluppgift::Kontaktperson
source · pub struct Kontaktperson<'a> {
pub namn: Cow<'a, str>,
pub telefon: Cow<'a, str>,
pub epostadress: Cow<'a, str>,
pub sakomrade: Option<Cow<'a, str>>,
}
Fields§
§namn: Cow<'a, str>
§telefon: Cow<'a, str>
§epostadress: Cow<'a, str>
§sakomrade: Option<Cow<'a, str>>
Trait Implementations§
source§impl<'a> Debug for Kontaktperson<'a>
impl<'a> Debug for Kontaktperson<'a>
source§impl<'a> PartialEq<Kontaktperson<'a>> for Kontaktperson<'a>
impl<'a> PartialEq<Kontaktperson<'a>> for Kontaktperson<'a>
source§fn eq(&self, other: &Kontaktperson<'a>) -> bool
fn eq(&self, other: &Kontaktperson<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.