#[repr(C)]pub struct lyd_leafref_links_rec {
pub node: *const lyd_node_term,
pub leafref_nodes: *mut *const lyd_node_term,
pub target_nodes: *mut *const lyd_node_term,
}Expand description
@brief Structure of leafref links record.
Fields§
§node: *const lyd_node_term§leafref_nodes: *mut *const lyd_node_termpointer to the data node itself
target_nodes: *mut *const lyd_node_termlist of the leafref pointing to this data node [sized array](@ref sizedarrays)), By default it is empty. It is filled automatically by validation function of leafref nodes, which are valid and are not using ‘require-instance false;’. It can also be populated based on manual request using [link api](@ref lyd_leafref_link_node_tree). Freeing of the resources is automatic.
Trait Implementations§
Source§impl Clone for lyd_leafref_links_rec
impl Clone for lyd_leafref_links_rec
Source§fn clone(&self) -> lyd_leafref_links_rec
fn clone(&self) -> lyd_leafref_links_rec
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 lyd_leafref_links_rec
Source§impl Debug for lyd_leafref_links_rec
impl Debug for lyd_leafref_links_rec
Auto Trait Implementations§
impl !Send for lyd_leafref_links_rec
impl !Sync for lyd_leafref_links_rec
impl Freeze for lyd_leafref_links_rec
impl RefUnwindSafe for lyd_leafref_links_rec
impl Unpin for lyd_leafref_links_rec
impl UnsafeUnpin for lyd_leafref_links_rec
impl UnwindSafe for lyd_leafref_links_rec
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