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> Default for Kontaktperson<'a>
impl<'a> Default for Kontaktperson<'a>
source§fn default() -> Kontaktperson<'a>
fn default() -> Kontaktperson<'a>
Returns the “default value” for a type. Read more
source§impl<'a> PartialEq for Kontaktperson<'a>
impl<'a> PartialEq 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 ==
.impl<'a> StructuralPartialEq for Kontaktperson<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Kontaktperson<'a>
impl<'a> Send for Kontaktperson<'a>
impl<'a> Sync for Kontaktperson<'a>
impl<'a> Unpin for Kontaktperson<'a>
impl<'a> UnwindSafe for Kontaktperson<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more