pub struct RemoteFunctionOptions {
pub endpoint: Option<String>,
pub connection: Option<String>,
pub user_defined_context: Option<HashMap<String, String>>,
pub max_batching_rows: Option<i64>,
}Fields§
§endpoint: Option<String>Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
connection: Option<String>Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: “projects/{projectId}/locations/{locationId}/connections/{connectionId}”
user_defined_context: Option<HashMap<String, String>>User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.
max_batching_rows: Option<i64>Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
Trait Implementations§
Source§impl Clone for RemoteFunctionOptions
impl Clone for RemoteFunctionOptions
Source§fn clone(&self) -> RemoteFunctionOptions
fn clone(&self) -> RemoteFunctionOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RemoteFunctionOptions
impl Debug for RemoteFunctionOptions
Source§impl Default for RemoteFunctionOptions
impl Default for RemoteFunctionOptions
Source§fn default() -> RemoteFunctionOptions
fn default() -> RemoteFunctionOptions
Source§impl<'de> Deserialize<'de> for RemoteFunctionOptions
impl<'de> Deserialize<'de> for RemoteFunctionOptions
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 for RemoteFunctionOptions
impl PartialEq for RemoteFunctionOptions
Source§impl Serialize for RemoteFunctionOptions
impl Serialize for RemoteFunctionOptions
impl Eq for RemoteFunctionOptions
impl StructuralPartialEq for RemoteFunctionOptions
Auto Trait Implementations§
impl Freeze for RemoteFunctionOptions
impl RefUnwindSafe for RemoteFunctionOptions
impl Send for RemoteFunctionOptions
impl Sync for RemoteFunctionOptions
impl Unpin for RemoteFunctionOptions
impl UnwindSafe for RemoteFunctionOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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