Struct gcp_bigquery_client::model::view_definition::ViewDefinition
source · [−]pub struct ViewDefinition {
pub query: String,
pub use_legacy_sql: Option<bool>,
pub user_defined_function_resources: Option<Vec<UserDefinedFunctionResource>>,
}
Fields
query: String
[Required] A query that BigQuery executes when the view is referenced.
use_legacy_sql: Option<bool>
Specifies whether to use BigQuery’s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery’s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
user_defined_function_resources: Option<Vec<UserDefinedFunctionResource>>
Describes user-defined function resources used in the query.
Trait Implementations
sourceimpl Clone for ViewDefinition
impl Clone for ViewDefinition
sourcefn clone(&self) -> ViewDefinition
fn clone(&self) -> ViewDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ViewDefinition
impl Debug for ViewDefinition
sourceimpl Default for ViewDefinition
impl Default for ViewDefinition
sourcefn default() -> ViewDefinition
fn default() -> ViewDefinition
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ViewDefinition
impl<'de> Deserialize<'de> for ViewDefinition
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ViewDefinition
impl Serialize for ViewDefinition
Auto Trait Implementations
impl RefUnwindSafe for ViewDefinition
impl Send for ViewDefinition
impl Sync for ViewDefinition
impl Unpin for ViewDefinition
impl UnwindSafe for ViewDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more