pub struct PersonType2 {
pub dt_and_plc_of_birth: Option<bool>,
pub email_adr: Option<bool>,
pub othr: Option<Vec<GenericPersonType1>>,
}Fields§
§dt_and_plc_of_birth: Option<bool>§email_adr: Option<bool>§othr: Option<Vec<GenericPersonType1>>Implementations§
Source§impl PersonType2
impl PersonType2
pub fn validate(&self) -> Result<(), ValidationError>
Auto Trait Implementations§
impl Freeze for PersonType2
impl RefUnwindSafe for PersonType2
impl Send for PersonType2
impl Sync for PersonType2
impl Unpin for PersonType2
impl UnwindSafe for PersonType2
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