[−][src]Struct in3_sys::in3_node
incubed node-configuration.
These information are read from the Registry contract and stored in this struct representing a server or node.
Fields
address: *mut bytes_t< address of the server
deposit: u64< the deposit stored in the registry contract, which this would lose if it sends a wrong blockhash
index: u32< index within the nodelist, also used in the contract as key
capacity: u32< the maximal capacity able to handle
props: in3_node_props_t< used to identify the capabilities of the node. See in3_node_props_type_t in nodelist.h
url: *mut c_char< the url of the node
attrs: u8< bitmask of internal attributes
Trait Implementations
impl Clone for in3_node[src]
fn clone(&self) -> in3_node[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for in3_node[src]
impl Debug for in3_node[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,