pub struct Config {
pub config: Config,
pub handles: Handles,
pub endpoint: String,
pub signing_region: String,
pub signing_name: String,
pub signing_name_derived: bool,
}Expand description
Struct representing the client configuration for accessing Volcengine services.
This struct holds the configuration settings necessary to interact with various Volcengine services, including authentication information, request handling, endpoint URL, and region-specific details for signing requests.
The Config struct is crucial for managing connections to Volcengine APIs and
contains all required settings to authenticate and make requests to the desired service.
§Fields:
config: Holds the detailed configuration required for authentication and other settings.handles: Manages the handles or sessions for handling requests to the Volcengine services.endpoint: The URL of the service endpoint for accessing the service.signing_region: The region to be used for signing API requests.signing_name: The name of the service to be used for signing the requests.signing_name_derived: A flag indicating whether the signing name is derived from metadata or explicitly modeled.
Fields§
§config: ConfigThe configuration details for the client, including authentication and settings.
handles: HandlesHandles associated with the client, likely for request handling or session management.
endpoint: StringThe endpoint URL for the specific Volcengine service.
signing_region: StringThe region used for signing requests.
signing_name: StringThe service name used for signing requests.
signing_name_derived: boolA flag indicating whether the signing name was derived from metadata but was not explicitly modeled in the service configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
T in a tonic::Request