pub(crate) struct CentralKvSyncConfig {
pub(crate) servers: Vec<ServerAddr>,
pub(crate) creds_path: String,
pub(crate) bucket: String,
pub(crate) key: String,
pub(crate) domain: Option<String>,
}Expand description
Connection and key details for mirroring dashboard config from central NATS.
Fields§
§servers: Vec<ServerAddr>Central NATS server addresses.
creds_path: StringCredentials file for the central connection.
bucket: StringCentral KV bucket holding the configuration.
key: StringCentral KV key holding the configuration.
domain: Option<String>Optional JetStream domain on the central server.
Trait Implementations§
Source§impl Clone for CentralKvSyncConfig
impl Clone for CentralKvSyncConfig
Source§fn clone(&self) -> CentralKvSyncConfig
fn clone(&self) -> CentralKvSyncConfig
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 CentralKvSyncConfig
impl RefUnwindSafe for CentralKvSyncConfig
impl Send for CentralKvSyncConfig
impl Sync for CentralKvSyncConfig
impl Unpin for CentralKvSyncConfig
impl UnsafeUnpin for CentralKvSyncConfig
impl UnwindSafe for CentralKvSyncConfig
Blanket Implementations§
impl<T> Allocation for T
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