Struct Struct_tree

Source
#[repr(C)]
pub struct Struct_tree {
Show 26 fields pub child_list: *mut Struct_tree, pub next_peer: *mut Struct_tree, pub next: *mut Struct_tree, pub parent: *mut Struct_tree, pub label: *mut c_char, pub subid: c_ulong, pub modid: c_int, pub number_modules: c_int, pub module_list: *mut c_int, pub tc_index: c_int, pub _type: c_int, pub access: c_int, pub status: c_int, pub enums: *mut Struct_enum_list, pub ranges: *mut Struct_range_list, pub indexes: *mut Struct_index_list, pub augments: *mut c_char, pub varbinds: *mut Struct_varbind_list, pub hint: *mut c_char, pub units: *mut c_char, pub printomat: Option<unsafe extern "C" fn(arg1: *mut *mut c_uchar, arg2: *mut size_t, arg3: *mut size_t, arg4: c_int, arg5: *const netsnmp_variable_list, arg6: *const Struct_enum_list, arg7: *const c_char, arg8: *const c_char) -> c_int>, pub printer: Option<unsafe extern "C" fn(arg1: *mut c_char, arg2: *const netsnmp_variable_list, arg3: *const Struct_enum_list, arg4: *const c_char, arg5: *const c_char)>, pub description: *mut c_char, pub reference: *mut c_char, pub reported: c_int, pub defaultValue: *mut c_char,
}

Fields§

§child_list: *mut Struct_tree§next_peer: *mut Struct_tree§next: *mut Struct_tree§parent: *mut Struct_tree§label: *mut c_char§subid: c_ulong§modid: c_int§number_modules: c_int§module_list: *mut c_int§tc_index: c_int§_type: c_int§access: c_int§status: c_int§enums: *mut Struct_enum_list§ranges: *mut Struct_range_list§indexes: *mut Struct_index_list§augments: *mut c_char§varbinds: *mut Struct_varbind_list§hint: *mut c_char§units: *mut c_char§printomat: Option<unsafe extern "C" fn(arg1: *mut *mut c_uchar, arg2: *mut size_t, arg3: *mut size_t, arg4: c_int, arg5: *const netsnmp_variable_list, arg6: *const Struct_enum_list, arg7: *const c_char, arg8: *const c_char) -> c_int>§printer: Option<unsafe extern "C" fn(arg1: *mut c_char, arg2: *const netsnmp_variable_list, arg3: *const Struct_enum_list, arg4: *const c_char, arg5: *const c_char)>§description: *mut c_char§reference: *mut c_char§reported: c_int§defaultValue: *mut c_char

Trait Implementations§

Source§

impl Clone for Struct_tree

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for Struct_tree

Source§

fn default() -> Self

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

impl Copy for Struct_tree

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.