pub struct HistoryClientStatus {
pub id: u32,
pub name: String,
pub connected: bool,
}
Expand description
History client status
Fields§
§id: u32
§name: String
§connected: bool
Implementations§
Trait Implementations§
Source§impl Clone for HistoryClientStatus
impl Clone for HistoryClientStatus
Source§fn clone(&self) -> HistoryClientStatus
fn clone(&self) -> HistoryClientStatus
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 HistoryClientStatus
impl Debug for HistoryClientStatus
Source§impl FromStr for HistoryClientStatus
impl FromStr for HistoryClientStatus
Source§type Err = ClientError
type Err = ClientError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<HistoryClientStatus, <HistoryClientStatus as FromStr>::Err>
fn from_str( s: &str, ) -> Result<HistoryClientStatus, <HistoryClientStatus as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl Hash for HistoryClientStatus
impl Hash for HistoryClientStatus
Source§impl PartialEq for HistoryClientStatus
impl PartialEq for HistoryClientStatus
impl Eq for HistoryClientStatus
impl StructuralPartialEq for HistoryClientStatus
Auto Trait Implementations§
impl Freeze for HistoryClientStatus
impl RefUnwindSafe for HistoryClientStatus
impl Send for HistoryClientStatus
impl Sync for HistoryClientStatus
impl Unpin for HistoryClientStatus
impl UnwindSafe for HistoryClientStatus
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