pub struct BasiliskClientConfig {
pub gateway_base_url: String,
pub bus_host: String,
pub bus_port: u16,
pub service_id: String,
pub fingerprint: String,
pub path_prefixes: Vec<String>,
pub scheme: String,
pub host: String,
pub port: u16,
pub weight: i32,
pub registration_auth_type: String,
pub registration_token: String,
}Expand description
Configuration used by BasiliskClient::connect.
Fields§
§gateway_base_url: StringBase URL for gateway registry APIs.
bus_host: StringService bus host.
bus_port: u16Service bus TCP port.
service_id: StringLogical service identifier.
fingerprint: StringService fingerprint/version marker.
path_prefixes: Vec<String>Path prefixes advertised to the gateway.
scheme: StringUpstream URL scheme.
host: StringUpstream host.
port: u16Upstream port.
weight: i32Load-balancing weight for this instance.
registration_auth_type: StringRegistration auth type (for example token).
registration_token: StringRegistration token/secret for gateway auth.
Trait Implementations§
Source§impl Clone for BasiliskClientConfig
impl Clone for BasiliskClientConfig
Source§fn clone(&self) -> BasiliskClientConfig
fn clone(&self) -> BasiliskClientConfig
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 BasiliskClientConfig
impl RefUnwindSafe for BasiliskClientConfig
impl Send for BasiliskClientConfig
impl Sync for BasiliskClientConfig
impl Unpin for BasiliskClientConfig
impl UnsafeUnpin for BasiliskClientConfig
impl UnwindSafe for BasiliskClientConfig
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