Struct dfx_base::data_dictionary::DDMap
source · pub struct DDMap { /* private fields */ }Implementations§
source§impl DDMap
impl DDMap
pub fn new(name: String) -> Self
pub fn new_with_values(name: String, msg_type: String, admin: bool) -> Self
pub fn add_field(&mut self, field: DDField)
pub fn is_field(&self, tag: Tag) -> bool
pub fn get_field(&self, tag: Tag) -> Option<&DDField>
pub fn add_group(&mut self, group: DDGroup)
pub fn is_group(&self, tag: Tag) -> bool
pub fn get_group(&self, tag: Tag) -> Option<&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) -> &String
pub fn fields(&self) -> &BTreeMap<Tag, DDField>
pub fn groups(&self) -> &BTreeMap<Tag, DDGroup>
pub fn admin(&self) -> bool
pub fn msg_type(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DDMap
impl Send for DDMap
impl Sync for DDMap
impl Unpin for DDMap
impl UnwindSafe for DDMap
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