pub struct ClientInfoBuilder {
pub service_name: Option<ClientServiceName>,
pub api_version: Option<String>,
pub signing_region: Option<String>,
}Fields§
§service_name: Option<ClientServiceName>§api_version: Option<String>§signing_region: Option<String>Implementations§
Source§impl ClientInfoBuilder
impl ClientInfoBuilder
pub fn with_service_name(self, service_name: ClientServiceName) -> Self
pub fn with_api_version(self, api_version: &str) -> Self
pub fn with_signing_region(self, signing_region: &str) -> Self
pub fn build(self) -> Result<ClientInfo, Error>
Auto Trait Implementations§
impl Freeze for ClientInfoBuilder
impl RefUnwindSafe for ClientInfoBuilder
impl Send for ClientInfoBuilder
impl Sync for ClientInfoBuilder
impl Unpin for ClientInfoBuilder
impl UnwindSafe for ClientInfoBuilder
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