Enum xoev_xwasser::Person
source · pub enum Person {
NatuerlichePerson(NatuerlichePersonType),
JuristischePerson(JuristischePersonType),
None,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
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 Tsify for Person
impl Tsify for Person
type JsType = JsType
const DECL: &'static str = "export type Person = { t: \"NatuerlichePerson\"; c: NatuerlichePersonType } | { t: \"JuristischePerson\"; c: JuristischePersonType } | { t: \"None\" };"
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
source§impl XmlDeserialize for Person
impl XmlDeserialize for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
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