pub struct CallClientConfig {
pub address: String,
pub timeout_seconds: u64,
pub tls: Option<TlsConfig>,
pub metadata: Option<HashMap<String, String>>,
pub compression: Option<String>,
}Expand description
Configuration for creating a call client.
Fields§
§address: String§timeout_seconds: u64§tls: Option<TlsConfig>§metadata: Option<HashMap<String, String>>§compression: Option<String>Trait Implementations§
Source§impl Clone for CallClientConfig
impl Clone for CallClientConfig
Source§fn clone(&self) -> CallClientConfig
fn clone(&self) -> CallClientConfig
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 CallClientConfig
impl Debug for CallClientConfig
Source§impl Default for CallClientConfig
impl Default for CallClientConfig
Source§fn default() -> CallClientConfig
fn default() -> CallClientConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CallClientConfig
impl RefUnwindSafe for CallClientConfig
impl Send for CallClientConfig
impl Sync for CallClientConfig
impl Unpin for CallClientConfig
impl UnsafeUnpin for CallClientConfig
impl UnwindSafe for CallClientConfig
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