Struct google_cloud_bigquery::http::types::ConnectionProperty
source · pub struct ConnectionProperty {
pub key: String,
pub value: String,
}Expand description
Currently supported connection properties: A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. dataset_project_id: represents the default project for datasets that are used in the query. Setting the system variable @@dataset_project_id achieves the same behavior. time_zone: represents the default timezone used to run the query. session_id: associates the query with a given session. query_label: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type. Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.
Fields§
§key: String§value: StringTrait Implementations§
source§impl Clone for ConnectionProperty
impl Clone for ConnectionProperty
source§fn clone(&self) -> ConnectionProperty
fn clone(&self) -> ConnectionProperty
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConnectionProperty
impl Debug for ConnectionProperty
source§impl Default for ConnectionProperty
impl Default for ConnectionProperty
source§fn default() -> ConnectionProperty
fn default() -> ConnectionProperty
source§impl<'de> Deserialize<'de> for ConnectionProperty
impl<'de> Deserialize<'de> for ConnectionProperty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl PartialEq<ConnectionProperty> for ConnectionProperty
impl PartialEq<ConnectionProperty> for ConnectionProperty
source§fn eq(&self, other: &ConnectionProperty) -> bool
fn eq(&self, other: &ConnectionProperty) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for ConnectionProperty
impl Serialize for ConnectionProperty
impl Eq for ConnectionProperty
impl StructuralEq for ConnectionProperty
impl StructuralPartialEq for ConnectionProperty
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionProperty
impl Send for ConnectionProperty
impl Sync for ConnectionProperty
impl Unpin for ConnectionProperty
impl UnwindSafe for ConnectionProperty
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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