#[non_exhaustive]pub struct SqlQueryDatasetActionBuilder { /* private fields */ }
Expand description
A builder for SqlQueryDatasetAction
.
Implementations§
source§impl SqlQueryDatasetActionBuilder
impl SqlQueryDatasetActionBuilder
sourcepub fn sql_query(self, input: impl Into<String>) -> Self
pub fn sql_query(self, input: impl Into<String>) -> Self
A SQL query string.
This field is required.sourcepub fn set_sql_query(self, input: Option<String>) -> Self
pub fn set_sql_query(self, input: Option<String>) -> Self
A SQL query string.
sourcepub fn get_sql_query(&self) -> &Option<String>
pub fn get_sql_query(&self) -> &Option<String>
A SQL query string.
sourcepub fn filters(self, input: QueryFilter) -> Self
pub fn filters(self, input: QueryFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Prefilters applied to message data.
sourcepub fn set_filters(self, input: Option<Vec<QueryFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<QueryFilter>>) -> Self
Prefilters applied to message data.
sourcepub fn get_filters(&self) -> &Option<Vec<QueryFilter>>
pub fn get_filters(&self) -> &Option<Vec<QueryFilter>>
Prefilters applied to message data.
sourcepub fn build(self) -> Result<SqlQueryDatasetAction, BuildError>
pub fn build(self) -> Result<SqlQueryDatasetAction, BuildError>
Consumes the builder and constructs a SqlQueryDatasetAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SqlQueryDatasetActionBuilder
impl Clone for SqlQueryDatasetActionBuilder
source§fn clone(&self) -> SqlQueryDatasetActionBuilder
fn clone(&self) -> SqlQueryDatasetActionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SqlQueryDatasetActionBuilder
impl Debug for SqlQueryDatasetActionBuilder
source§impl Default for SqlQueryDatasetActionBuilder
impl Default for SqlQueryDatasetActionBuilder
source§fn default() -> SqlQueryDatasetActionBuilder
fn default() -> SqlQueryDatasetActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SqlQueryDatasetActionBuilder
impl PartialEq for SqlQueryDatasetActionBuilder
source§fn eq(&self, other: &SqlQueryDatasetActionBuilder) -> bool
fn eq(&self, other: &SqlQueryDatasetActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SqlQueryDatasetActionBuilder
Auto Trait Implementations§
impl Freeze for SqlQueryDatasetActionBuilder
impl RefUnwindSafe for SqlQueryDatasetActionBuilder
impl Send for SqlQueryDatasetActionBuilder
impl Sync for SqlQueryDatasetActionBuilder
impl Unpin for SqlQueryDatasetActionBuilder
impl UnwindSafe for SqlQueryDatasetActionBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.