pub struct ComplexPart<'s> { /* private fields */ }Expand description
One partial record of a complex instance.
Implementations§
Source§impl<'s> ComplexPart<'s>
impl<'s> ComplexPart<'s>
Sourcepub fn entity(&self) -> Option<&'s EntityDef>
pub fn entity(&self) -> Option<&'s EntityDef>
The entity declaration it names, or None if the schema has none
(reported as ComplexIssue::UnknownType).
Sourcepub fn slots(&self) -> &[ComplexSlot<'s>]
pub fn slots(&self) -> &[ComplexSlot<'s>]
The partial record’s positional slots: the explicit attributes the entity itself declares, in declaration order. Empty for an unknown part and for an entity that declares none.
Trait Implementations§
Source§impl<'s> Clone for ComplexPart<'s>
impl<'s> Clone for ComplexPart<'s>
Auto Trait Implementations§
impl<'s> Freeze for ComplexPart<'s>
impl<'s> RefUnwindSafe for ComplexPart<'s>
impl<'s> Send for ComplexPart<'s>
impl<'s> Sync for ComplexPart<'s>
impl<'s> Unpin for ComplexPart<'s>
impl<'s> UnsafeUnpin for ComplexPart<'s>
impl<'s> UnwindSafe for ComplexPart<'s>
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