pub struct DDGroup { /* private fields */ }Implementations§
Methods from Deref<Target = DDMap>§
pub fn add_field(&mut self, field: Arc<DDField>)
pub fn is_field(&self, tag: Tag) -> bool
pub fn get_field(&self, tag: Tag) -> Option<&Arc<DDField>>
pub fn add_group(&mut self, group: Arc<DDGroup>)
pub fn is_group(&self, tag: Tag) -> bool
pub fn get_group(&self, tag: Tag) -> Option<&Arc<DDGroup>>
pub fn required_fields(&self) -> &BTreeSet<Tag>
pub fn required_fields_mut(&mut self) -> &mut BTreeSet<Tag>
pub fn add_required_field(&mut self, tag: Tag)
pub fn name(&self) -> &Arc<str> ⓘ
pub fn fields(&self) -> &BTreeMap<Tag, Arc<DDField>>
pub fn groups(&self) -> &BTreeMap<Tag, Arc<DDGroup>>
pub fn admin(&self) -> bool
pub fn msg_type(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DDGroup
impl RefUnwindSafe for DDGroup
impl Send for DDGroup
impl Sync for DDGroup
impl Unpin for DDGroup
impl UnsafeUnpin for DDGroup
impl UnwindSafe for DDGroup
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