#[non_exhaustive]pub struct SeedConfig {
pub http_addrs: Vec<Address>,
pub memd_addrs: Vec<Address>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.http_addrs: Vec<Address>§memd_addrs: Vec<Address>Implementations§
Source§impl SeedConfig
impl SeedConfig
pub fn new() -> Self
pub fn http_addrs(self, http_addrs: Vec<Address>) -> Self
pub fn memd_addrs(self, memd_addrs: Vec<Address>) -> Self
Trait Implementations§
Source§impl Clone for SeedConfig
impl Clone for SeedConfig
Source§fn clone(&self) -> SeedConfig
fn clone(&self) -> SeedConfig
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 SeedConfig
impl Debug for SeedConfig
Source§impl Default for SeedConfig
impl Default for SeedConfig
Source§fn default() -> SeedConfig
fn default() -> SeedConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for SeedConfig
impl PartialEq for SeedConfig
impl StructuralPartialEq for SeedConfig
Auto Trait Implementations§
impl Freeze for SeedConfig
impl RefUnwindSafe for SeedConfig
impl Send for SeedConfig
impl Sync for SeedConfig
impl Unpin for SeedConfig
impl UnwindSafe for SeedConfig
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