pub struct PersistedClientConfig {
pub version: String,
pub transports: Vec<ClientConfig>,
}Fields§
§version: String§transports: Vec<ClientConfig>Implementations§
Source§impl PersistedClientConfig
impl PersistedClientConfig
pub fn get_addrs(&self) -> Vec<SocketAddr>
Trait Implementations§
Source§impl Clone for PersistedClientConfig
impl Clone for PersistedClientConfig
Source§fn clone(&self) -> PersistedClientConfig
fn clone(&self) -> PersistedClientConfig
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 PersistedClientConfig
impl Debug for PersistedClientConfig
Source§impl PartialEq for PersistedClientConfig
impl PartialEq for PersistedClientConfig
impl StructuralPartialEq for PersistedClientConfig
Auto Trait Implementations§
impl Freeze for PersistedClientConfig
impl RefUnwindSafe for PersistedClientConfig
impl Send for PersistedClientConfig
impl Sync for PersistedClientConfig
impl Unpin for PersistedClientConfig
impl UnsafeUnpin for PersistedClientConfig
impl UnwindSafe for PersistedClientConfig
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