pub struct ModuleHeaderStmts { /* private fields */ }Expand description
“module-header” statements.
Implementations§
Source§impl ModuleHeaderStmts
impl ModuleHeaderStmts
pub fn yang_version(&self) -> &Option<YangVersionStmt>
pub fn namespace(&self) -> &NamespaceStmt
pub fn prefix(&self) -> &PrefixStmt
Trait Implementations§
Source§impl Clone for ModuleHeaderStmts
impl Clone for ModuleHeaderStmts
Source§fn clone(&self) -> ModuleHeaderStmts
fn clone(&self) -> ModuleHeaderStmts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Compound for ModuleHeaderStmts
impl Compound for ModuleHeaderStmts
Source§impl Debug for ModuleHeaderStmts
impl Debug for ModuleHeaderStmts
Source§impl PartialEq for ModuleHeaderStmts
impl PartialEq for ModuleHeaderStmts
impl StructuralPartialEq for ModuleHeaderStmts
Auto Trait Implementations§
impl Freeze for ModuleHeaderStmts
impl RefUnwindSafe for ModuleHeaderStmts
impl Send for ModuleHeaderStmts
impl Sync for ModuleHeaderStmts
impl Unpin for ModuleHeaderStmts
impl UnwindSafe for ModuleHeaderStmts
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