#[repr(C)]pub struct lyd_node_opaq {
pub __bindgen_anon_1: lyd_node_opaq__bindgen_ty_1,
pub child: *mut lyd_node,
pub name: ly_opaq_name,
pub value: *const c_char,
pub hints: u32,
pub format: Type,
pub val_prefix_data: *mut c_void,
pub attr: *mut lyd_attr,
pub ctx: *const ly_ctx,
}Expand description
@brief Data node structure for unparsed (opaque) nodes.
Fields§
§__bindgen_anon_1: lyd_node_opaq__bindgen_ty_1§child: *mut lyd_node< pointer to the child node (compatible with ::lyd_node_inner)
name: ly_opaq_name< node name with module information
value: *const c_char< original value
hints: u32< additional value format information, see the [hints list](@ref lydhints)
format: Type< format of the node and any prefixes, ::LY_VALUE_XML or ::LY_VALUE_JSON
val_prefix_data: *mut c_void< format-specific prefix data
attr: *mut lyd_attr< pointer to the list of generic attributes of this node
ctx: *const ly_ctx< libyang context
Trait Implementations§
Source§impl Clone for lyd_node_opaq
impl Clone for lyd_node_opaq
Source§fn clone(&self) -> lyd_node_opaq
fn clone(&self) -> lyd_node_opaq
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_node_opaq
Auto Trait Implementations§
impl !Send for lyd_node_opaq
impl !Sync for lyd_node_opaq
impl Freeze for lyd_node_opaq
impl RefUnwindSafe for lyd_node_opaq
impl Unpin for lyd_node_opaq
impl UnsafeUnpin for lyd_node_opaq
impl UnwindSafe for lyd_node_opaq
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