pub struct NodeInfoMeta {
pub software_name: String,
pub software_version: String,
pub open_registrations: bool,
pub total_users: u64,
pub base_url: String,
}Expand description
NodeInfo 2.1 body inputs. Kept here so tests can override them.
Fields§
§software_name: String§software_version: String§open_registrations: bool§total_users: u64§base_url: StringTrait Implementations§
Source§impl Clone for NodeInfoMeta
impl Clone for NodeInfoMeta
Source§fn clone(&self) -> NodeInfoMeta
fn clone(&self) -> NodeInfoMeta
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 moreSource§impl Debug for NodeInfoMeta
impl Debug for NodeInfoMeta
Auto Trait Implementations§
impl Freeze for NodeInfoMeta
impl RefUnwindSafe for NodeInfoMeta
impl Send for NodeInfoMeta
impl Sync for NodeInfoMeta
impl Unpin for NodeInfoMeta
impl UnsafeUnpin for NodeInfoMeta
impl UnwindSafe for NodeInfoMeta
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