pub struct UserDefinedFunctionResource {
pub inline_code: Option<String>,
pub resource_uri: Option<String>,
}
Expand description
This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION … ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
This type is not used in any activity, and only used as part of another schema.
Fields§
§inline_code: Option<String>
[Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
resource_uri: Option<String>
[Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
Trait Implementations§
Source§impl Clone for UserDefinedFunctionResource
impl Clone for UserDefinedFunctionResource
Source§fn clone(&self) -> UserDefinedFunctionResource
fn clone(&self) -> UserDefinedFunctionResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UserDefinedFunctionResource
impl Debug for UserDefinedFunctionResource
Source§impl Default for UserDefinedFunctionResource
impl Default for UserDefinedFunctionResource
Source§fn default() -> UserDefinedFunctionResource
fn default() -> UserDefinedFunctionResource
Source§impl<'de> Deserialize<'de> for UserDefinedFunctionResource
impl<'de> Deserialize<'de> for UserDefinedFunctionResource
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>,
impl Part for UserDefinedFunctionResource
Auto Trait Implementations§
impl Freeze for UserDefinedFunctionResource
impl RefUnwindSafe for UserDefinedFunctionResource
impl Send for UserDefinedFunctionResource
impl Sync for UserDefinedFunctionResource
impl Unpin for UserDefinedFunctionResource
impl UnwindSafe for UserDefinedFunctionResource
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more