Struct kontrolluppgift::Kontaktperson
source · pub struct Kontaktperson {
pub namn: String,
pub telefon: String,
pub epostadress: String,
pub sakomrade: Option<String>,
}
Fields§
§namn: String
§telefon: String
§epostadress: String
§sakomrade: Option<String>
Trait Implementations§
source§impl Debug for Kontaktperson
impl Debug for Kontaktperson
source§impl<'de> Deserialize<'de> for Kontaktperson
impl<'de> Deserialize<'de> for Kontaktperson
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Kontaktperson> for Kontaktperson
impl PartialEq<Kontaktperson> for Kontaktperson
source§fn eq(&self, other: &Kontaktperson) -> bool
fn eq(&self, other: &Kontaktperson) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.