pub struct RoutingServer {
pub addresses: Vec<String>,
pub role: String,
}Expand description
A server address with a role in the routing table.
Fields§
§addresses: Vec<String>§role: StringTrait Implementations§
Source§impl Clone for RoutingServer
impl Clone for RoutingServer
Source§fn clone(&self) -> RoutingServer
fn clone(&self) -> RoutingServer
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 moreAuto Trait Implementations§
impl Freeze for RoutingServer
impl RefUnwindSafe for RoutingServer
impl Send for RoutingServer
impl Sync for RoutingServer
impl Unpin for RoutingServer
impl UnsafeUnpin for RoutingServer
impl UnwindSafe for RoutingServer
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