pub struct NodeSyncing {
pub syncing: bool,
pub blocks: i64,
pub height: u64,
pub id: String,
}Fields§
§syncing: bool§blocks: i64§height: u64§id: StringTrait Implementations§
Source§impl Clone for NodeSyncing
impl Clone for NodeSyncing
Source§fn clone(&self) -> NodeSyncing
fn clone(&self) -> NodeSyncing
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeSyncing
impl Debug for NodeSyncing
Source§impl Default for NodeSyncing
impl Default for NodeSyncing
Source§fn default() -> NodeSyncing
fn default() -> NodeSyncing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeSyncing
impl<'de> Deserialize<'de> for NodeSyncing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeSyncing
impl PartialEq for NodeSyncing
Source§impl Serialize for NodeSyncing
impl Serialize for NodeSyncing
impl StructuralPartialEq for NodeSyncing
Auto Trait Implementations§
impl Freeze for NodeSyncing
impl RefUnwindSafe for NodeSyncing
impl Send for NodeSyncing
impl Sync for NodeSyncing
impl Unpin for NodeSyncing
impl UnwindSafe for NodeSyncing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more