Struct hedwig::googlepubsub::ClientBuilderConfig [−][src]
#[non_exhaustive]pub struct ClientBuilderConfig {
pub auth_flow: AuthFlow,
}
This is supported on crate feature
google
only.Expand description
Configuration for creating a ClientBuilder
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.auth_flow: AuthFlow
How authentication credentials should be loaded
Implementations
Construct a new instance with the default values
Set this field to the given value
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ClientBuilderConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ClientBuilderConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClientBuilderConfig
impl Send for ClientBuilderConfig
impl Sync for ClientBuilderConfig
impl Unpin for ClientBuilderConfig
impl UnwindSafe for ClientBuilderConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more