#[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 Freeze for SourceFieldPropertiesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.