#[repr(C)]pub struct lysc_node_leaflist {
pub __bindgen_anon_1: lysc_node_leaflist__bindgen_ty_1,
pub musts: *mut lysc_must,
pub when: *mut *mut lysc_when,
pub type_: *mut lysc_type,
pub units: *const c_char,
pub dflts: *mut lysc_value,
pub min: u32,
pub max: u32,
}Fields§
§__bindgen_anon_1: lysc_node_leaflist__bindgen_ty_1§musts: *mut lysc_must< list of must restrictions ([sized array](@ref sizedarrays))
when: *mut *mut lysc_when< list of pointers to when statements ([sized array](@ref sizedarrays))
type_: *mut lysc_type< type of the leaf node (mandatory)
units: *const c_char< units of the leaf’s type
dflts: *mut lysc_value< list ([sized array](@ref sizedarrays)) of default values, use ::lyd_value_validate_dflt() to get real type and canonical values
min: u32< min-elements constraint
max: u32< max-elements constraint
Trait Implementations§
Source§impl Clone for lysc_node_leaflist
impl Clone for lysc_node_leaflist
Source§fn clone(&self) -> lysc_node_leaflist
fn clone(&self) -> lysc_node_leaflist
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_node_leaflist
Auto Trait Implementations§
impl !Send for lysc_node_leaflist
impl !Sync for lysc_node_leaflist
impl Freeze for lysc_node_leaflist
impl RefUnwindSafe for lysc_node_leaflist
impl Unpin for lysc_node_leaflist
impl UnsafeUnpin for lysc_node_leaflist
impl UnwindSafe for lysc_node_leaflist
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