pub struct Group<'a> { /* private fields */ }Expand description
A read view of one repeating group, with its instance members resolved.
Implementations§
Source§impl<'a> Group<'a>
impl<'a> Group<'a>
Sourcepub fn count_field(&self) -> &'a Field
pub fn count_field(&self) -> &'a Field
The NumInGroup field, e.g. NoPartyIDs(453).
Sourcepub fn delimiter(&self) -> &'a Field
pub fn delimiter(&self) -> &'a Field
The field every instance starts with.
That is the instance’s first field after expansion, or a nested group’s count field.
Sourcepub fn is_required(&self) -> bool
pub fn is_required(&self) -> bool
Whether the count field is required in the enclosing scope, combined across every component on the path to it.
Sourcepub fn declared_in(&self) -> &'a MemberContext
pub fn declared_in(&self) -> &'a MemberContext
The message, component, group instance, header or trailer the
<group> element sits in.
Trait Implementations§
impl<'a> Copy for Group<'a>
impl<'a> Eq for Group<'a>
impl<'a> StructuralPartialEq for Group<'a>
Auto Trait Implementations§
impl<'a> Forget for Group<'a>
impl<'a> Freeze for Group<'a>
impl<'a> Move for Group<'a>
impl<'a> RefUnwindSafe for Group<'a>
impl<'a> Send for Group<'a>
impl<'a> Sync for Group<'a>
impl<'a> Unpin for Group<'a>
impl<'a> UnsafeUnpin for Group<'a>
impl<'a> UnwindSafe for Group<'a>
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