#[repr(C)]pub struct lysp_ext {
pub name: *const c_char,
pub argname: *const c_char,
pub dsc: *const c_char,
pub ref_: *const c_char,
pub exts: *mut lysp_ext_instance,
pub plugin_ref: usize,
pub flags: u16,
}Expand description
@brief YANG extension-stmt
Fields§
§name: *const c_char< extension name
argname: *const c_char< argument name, NULL if not specified
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))
plugin_ref: usize< reference to extension plugin, use ::lysc_get_ext_plugin() to get the plugin
flags: u16< LYS_STATUS_* and LYS_YINELEM_* values (@ref snodeflags)
Trait Implementations§
Auto Trait Implementations§
impl !Send for lysp_ext
impl !Sync for lysp_ext
impl Freeze for lysp_ext
impl RefUnwindSafe for lysp_ext
impl Unpin for lysp_ext
impl UnsafeUnpin for lysp_ext
impl UnwindSafe for lysp_ext
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