#[non_exhaustive]pub struct SourceFieldPropertiesBuilder { /* private fields */ }
Expand description
A builder for SourceFieldProperties
.
Implementations§
source§impl SourceFieldPropertiesBuilder
impl SourceFieldPropertiesBuilder
sourcepub fn is_retrievable(self, input: bool) -> Self
pub fn is_retrievable(self, input: bool) -> Self
Indicates whether the field can be returned in a search result.
sourcepub fn set_is_retrievable(self, input: Option<bool>) -> Self
pub fn set_is_retrievable(self, input: Option<bool>) -> Self
Indicates whether the field can be returned in a search result.
sourcepub fn get_is_retrievable(&self) -> &Option<bool>
pub fn get_is_retrievable(&self) -> &Option<bool>
Indicates whether the field can be returned in a search result.
sourcepub fn is_queryable(self, input: bool) -> Self
pub fn is_queryable(self, input: bool) -> Self
Indicates if the field can be queried.
sourcepub fn set_is_queryable(self, input: Option<bool>) -> Self
pub fn set_is_queryable(self, input: Option<bool>) -> Self
Indicates if the field can be queried.
sourcepub fn get_is_queryable(&self) -> &Option<bool>
pub fn get_is_queryable(&self) -> &Option<bool>
Indicates if the field can be queried.
sourcepub fn is_timestamp_field_for_incremental_queries(self, input: bool) -> Self
pub fn is_timestamp_field_for_incremental_queries(self, input: bool) -> Self
Indicates if this timestamp field can be used for incremental queries.
sourcepub fn set_is_timestamp_field_for_incremental_queries(
self,
input: Option<bool>
) -> Self
pub fn set_is_timestamp_field_for_incremental_queries( self, input: Option<bool> ) -> Self
Indicates if this timestamp field can be used for incremental queries.
sourcepub fn get_is_timestamp_field_for_incremental_queries(&self) -> &Option<bool>
pub fn get_is_timestamp_field_for_incremental_queries(&self) -> &Option<bool>
Indicates if this timestamp field can be used for incremental queries.
sourcepub fn build(self) -> SourceFieldProperties
pub fn build(self) -> SourceFieldProperties
Consumes the builder and constructs a SourceFieldProperties
.
Trait Implementations§
source§impl Clone for SourceFieldPropertiesBuilder
impl Clone for SourceFieldPropertiesBuilder
source§fn clone(&self) -> SourceFieldPropertiesBuilder
fn clone(&self) -> SourceFieldPropertiesBuilder
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 SourceFieldPropertiesBuilder
impl Debug for SourceFieldPropertiesBuilder
source§impl Default for SourceFieldPropertiesBuilder
impl Default for SourceFieldPropertiesBuilder
source§fn default() -> SourceFieldPropertiesBuilder
fn default() -> SourceFieldPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SourceFieldPropertiesBuilder
impl PartialEq for SourceFieldPropertiesBuilder
source§fn eq(&self, other: &SourceFieldPropertiesBuilder) -> bool
fn eq(&self, other: &SourceFieldPropertiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceFieldPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SourceFieldPropertiesBuilder
impl Send for SourceFieldPropertiesBuilder
impl Sync for SourceFieldPropertiesBuilder
impl Unpin for SourceFieldPropertiesBuilder
impl UnwindSafe for SourceFieldPropertiesBuilder
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.