pub struct ComplexTypeContent {
pub occurs: Occurs,
pub is_simple: bool,
pub min_occurs: MinOccurs,
pub max_occurs: MaxOccurs,
pub target_type: IdentPath,
}Expand description
Contains details about the content of a struct.
Is used by StructMode to define the content of a struct.
Fields§
§occurs: OccursOccurrence of the content within this struct.
is_simple: booltrue if the content is a simple type (e.g. a enum, union, string,
integer, …), false otherwise.
min_occurs: MinOccursMinimum occurrence.
max_occurs: MaxOccursMaximum occurrence.
target_type: IdentPathActual target type of the content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComplexTypeContent
impl RefUnwindSafe for ComplexTypeContent
impl !Send for ComplexTypeContent
impl !Sync for ComplexTypeContent
impl Unpin for ComplexTypeContent
impl UnwindSafe for ComplexTypeContent
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