pub struct ComplexTypeBase {
pub type_ident: Ident,
pub trait_impls: Vec<IdentPath>,
pub tag_name: Option<String>,
pub is_complex: bool,
pub is_dynamic: bool,
pub serializer_ident: Ident,
pub serializer_state_ident: Ident,
pub deserializer_ident: Ident,
pub deserializer_state_ident: Ident,
}Expand description
Contains basic information for that is shared between ComplexTypeEnum
and ComplexTypeStruct.
Fields§
§type_ident: IdentThe identifier of the rendered type.
trait_impls: Vec<IdentPath>List of traits that needs to be implemented by this type.
tag_name: Option<String>Name of the XML tag of the type (if the type represents an element in the XML).
is_complex: booltrue if the type is a complex type, false otherwise.
is_dynamic: booltrue if the type is dynamic, false otherwise.
serializer_ident: IdentIdentifier of the serializer for this type.
serializer_state_ident: IdentIdentifier of the state of the serializer for this type.
deserializer_ident: IdentIdentifier of the deserializer for this type.
deserializer_state_ident: IdentIdentifier of the state of the deserializer for this type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComplexTypeBase
impl RefUnwindSafe for ComplexTypeBase
impl !Send for ComplexTypeBase
impl !Sync for ComplexTypeBase
impl Unpin for ComplexTypeBase
impl UnwindSafe for ComplexTypeBase
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