#[repr(C)]pub struct lysc_module {
pub mod_: *mut lys_module,
pub features: *mut *const c_char,
pub data: *mut lysc_node,
pub rpcs: *mut lysc_node_action,
pub notifs: *mut lysc_node_notif,
pub exts: *mut lysc_ext_instance,
}Expand description
@brief Compiled YANG schema tree structure representing YANG module.
Semantically validated YANG schema tree for data tree parsing. Contains only the necessary information for the data validation.
Fields§
§mod_: *mut lys_module< covering module structure
features: *mut *const c_char< array of all the enabled features ([sized array](@ref sizedarrays)), but also terminated by NULL
data: *mut lysc_node< list of module’s top-level data nodes (linked list)
rpcs: *mut lysc_node_action< first of actions nodes (linked list)
notifs: *mut lysc_node_notif< first of notifications nodes (linked list)
exts: *mut lysc_ext_instance< list of extension instances ([sized array](@ref sizedarrays))
Trait Implementations§
Source§impl Clone for lysc_module
impl Clone for lysc_module
Source§fn clone(&self) -> lysc_module
fn clone(&self) -> lysc_module
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 lysc_module
Source§impl Debug for lysc_module
impl Debug for lysc_module
Auto Trait Implementations§
impl !Send for lysc_module
impl !Sync for lysc_module
impl Freeze for lysc_module
impl RefUnwindSafe for lysc_module
impl Unpin for lysc_module
impl UnsafeUnpin for lysc_module
impl UnwindSafe for lysc_module
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