Struct libyang2_sys::lys_module[][src]

#[repr(C)]
pub struct lys_module {
Show 18 fields pub ctx: *mut ly_ctx, pub name: *const c_char, pub revision: *const c_char, pub ns: *const c_char, pub prefix: *const c_char, pub filepath: *const c_char, pub org: *const c_char, pub contact: *const c_char, pub dsc: *const c_char, pub ref_: *const c_char, pub parsed: *mut lysp_module, pub compiled: *mut lysc_module, pub identities: *mut lysc_ident, pub augmented_by: *mut *mut lys_module, pub deviated_by: *mut *mut lys_module, pub implemented: ly_bool, pub to_compile: ly_bool, pub latest_revision: u8,
}

Fields

ctx: *mut ly_ctxname: *const c_charrevision: *const c_charns: *const c_charprefix: *const c_charfilepath: *const c_charorg: *const c_charcontact: *const c_chardsc: *const c_charref_: *const c_charparsed: *mut lysp_modulecompiled: *mut lysc_moduleidentities: *mut lysc_identaugmented_by: *mut *mut lys_moduledeviated_by: *mut *mut lys_moduleimplemented: ly_boolto_compile: ly_boollatest_revision: u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.