Struct ydb_unofficial::client::YdbEndpoint
source · pub struct YdbEndpoint {
pub ssl: bool,
pub host: String,
pub port: u16,
pub load_factor: f32,
}Fields§
§ssl: bool§host: String§port: u16§load_factor: f32Implementations§
source§impl YdbEndpoint
impl YdbEndpoint
Trait Implementations§
source§impl Clone for YdbEndpoint
impl Clone for YdbEndpoint
source§fn clone(&self) -> YdbEndpoint
fn clone(&self) -> YdbEndpoint
Returns a copy 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 YdbEndpoint
impl Debug for YdbEndpoint
source§impl From<EndpointInfo> for YdbEndpoint
Available on crate feature pool only.
impl From<EndpointInfo> for YdbEndpoint
Available on crate feature
pool only.source§fn from(value: EndpointInfo) -> Self
fn from(value: EndpointInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for YdbEndpoint
impl Send for YdbEndpoint
impl Sync for YdbEndpoint
impl Unpin for YdbEndpoint
impl UnwindSafe for YdbEndpoint
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request