pub struct Server {
pub addr: String,
pub status: NodeStatus,
pub endpoint: String,
}Fields§
§addr: String§status: NodeStatus§endpoint: StringImplementations§
Trait Implementations§
Source§impl BorshDeserialize for Server
impl BorshDeserialize for Server
Source§impl BorshSerialize for Server
impl BorshSerialize for Server
Source§impl From<ServerJoin> for Server
impl From<ServerJoin> for Server
Source§fn from(new_server: ServerJoin) -> Self
fn from(new_server: ServerJoin) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnsafeUnpin for Server
impl UnwindSafe for Server
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