#[repr(C)]pub struct lysp_when {
pub cond: *const c_char,
pub dsc: *const c_char,
pub ref_: *const c_char,
pub exts: *mut lysp_ext_instance,
}Expand description
@brief YANG when-stmt
Fields§
§cond: *const c_char< specified condition (mandatory)
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))
Trait Implementations§
Auto Trait Implementations§
impl !Send for lysp_when
impl !Sync for lysp_when
impl Freeze for lysp_when
impl RefUnwindSafe for lysp_when
impl Unpin for lysp_when
impl UnsafeUnpin for lysp_when
impl UnwindSafe for lysp_when
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