pub struct RegistrationConfig {
pub node_id: String,
pub address: String,
pub port: u16,
pub version: String,
pub bootstrap_urls: Vec<String>,
pub timeout_secs: u64,
}Expand description
Configuration for bootstrap registry self-registration.
Fields§
§node_id: String§address: String§port: u16§version: String§bootstrap_urls: Vec<String>§timeout_secs: u64Trait Implementations§
Source§impl Clone for RegistrationConfig
impl Clone for RegistrationConfig
Source§fn clone(&self) -> RegistrationConfig
fn clone(&self) -> RegistrationConfig
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 moreAuto Trait Implementations§
impl Freeze for RegistrationConfig
impl RefUnwindSafe for RegistrationConfig
impl Send for RegistrationConfig
impl Sync for RegistrationConfig
impl Unpin for RegistrationConfig
impl UnsafeUnpin for RegistrationConfig
impl UnwindSafe for RegistrationConfig
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