pub struct ComplexDataContent<'types> {
pub occurs: Occurs,
pub simple_type: Option<&'types Ident>,
pub min_occurs: MinOccurs,
pub max_occurs: MaxOccurs,
pub target_type: PathData,
}
Expand description
Contains details about the content of a struct.
Is used by StructMode
to define the content of a struct.
Fields§
§occurs: Occurs
Occurrence of the content within this struct.
simple_type: Option<&'types Ident>
Type identifier of the content type if this ComplexDataContent
was
constructed from a complex type with simple content.
min_occurs: MinOccurs
Minimum occurrence.
max_occurs: MaxOccurs
Maximum occurrence.
target_type: PathData
Actual target type of the content.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'types> Freeze for ComplexDataContent<'types>
impl<'types> RefUnwindSafe for ComplexDataContent<'types>
impl<'types> !Send for ComplexDataContent<'types>
impl<'types> !Sync for ComplexDataContent<'types>
impl<'types> Unpin for ComplexDataContent<'types>
impl<'types> UnwindSafe for ComplexDataContent<'types>
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