#[repr(C)]pub struct lysp_ident {
pub name: *const c_char,
pub iffeatures: *mut lysp_qname,
pub bases: *mut *const c_char,
pub dsc: *const c_char,
pub ref_: *const c_char,
pub exts: *mut lysp_ext_instance,
pub flags: u16,
}Expand description
@brief YANG identity-stmt
Fields§
§name: *const c_char< identity name (mandatory), including possible prefix
iffeatures: *mut lysp_qname< list of if-feature expressions ([sized array](@ref sizedarrays))
bases: *mut *const c_char< list of base identifiers ([sized array](@ref sizedarrays))
dsc: *const c_char< description statement
ref_: *const c_char< reference statement
exts: *mut lysp_ext_instance< list of the extension instances ([sized array](@ref sizedarrays))
flags: u16< [schema node flags](@ref snodeflags) - only LYS_STATUS_ values are allowed
Trait Implementations§
Source§impl Clone for lysp_ident
impl Clone for lysp_ident
Source§fn clone(&self) -> lysp_ident
fn clone(&self) -> lysp_ident
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lysp_ident
Source§impl Debug for lysp_ident
impl Debug for lysp_ident
Auto Trait Implementations§
impl !Send for lysp_ident
impl !Sync for lysp_ident
impl Freeze for lysp_ident
impl RefUnwindSafe for lysp_ident
impl Unpin for lysp_ident
impl UnsafeUnpin for lysp_ident
impl UnwindSafe for lysp_ident
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