#[non_exhaustive]pub struct ConfluenceBlogToIndexFieldMappingBuilder { /* private fields */ }Expand description
A builder for ConfluenceBlogToIndexFieldMapping.
Implementations§
source§impl ConfluenceBlogToIndexFieldMappingBuilder
impl ConfluenceBlogToIndexFieldMappingBuilder
sourcepub fn data_source_field_name(self, input: ConfluenceBlogFieldName) -> Self
pub fn data_source_field_name(self, input: ConfluenceBlogFieldName) -> Self
The name of the field in the data source.
sourcepub fn set_data_source_field_name(
self,
input: Option<ConfluenceBlogFieldName>
) -> Self
pub fn set_data_source_field_name( self, input: Option<ConfluenceBlogFieldName> ) -> Self
The name of the field in the data source.
sourcepub fn get_data_source_field_name(&self) -> &Option<ConfluenceBlogFieldName>
pub fn get_data_source_field_name(&self) -> &Option<ConfluenceBlogFieldName>
The name of the field in the data source.
sourcepub fn date_field_format(self, input: impl Into<String>) -> Self
pub fn date_field_format(self, input: impl Into<String>) -> Self
The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.
sourcepub fn set_date_field_format(self, input: Option<String>) -> Self
pub fn set_date_field_format(self, input: Option<String>) -> Self
The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.
sourcepub fn get_date_field_format(&self) -> &Option<String>
pub fn get_date_field_format(&self) -> &Option<String>
The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.
sourcepub fn index_field_name(self, input: impl Into<String>) -> Self
pub fn index_field_name(self, input: impl Into<String>) -> Self
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
sourcepub fn set_index_field_name(self, input: Option<String>) -> Self
pub fn set_index_field_name(self, input: Option<String>) -> Self
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
sourcepub fn get_index_field_name(&self) -> &Option<String>
pub fn get_index_field_name(&self) -> &Option<String>
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.
sourcepub fn build(self) -> ConfluenceBlogToIndexFieldMapping
pub fn build(self) -> ConfluenceBlogToIndexFieldMapping
Consumes the builder and constructs a ConfluenceBlogToIndexFieldMapping.
Trait Implementations§
source§impl Clone for ConfluenceBlogToIndexFieldMappingBuilder
impl Clone for ConfluenceBlogToIndexFieldMappingBuilder
source§fn clone(&self) -> ConfluenceBlogToIndexFieldMappingBuilder
fn clone(&self) -> ConfluenceBlogToIndexFieldMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfluenceBlogToIndexFieldMappingBuilder
impl Default for ConfluenceBlogToIndexFieldMappingBuilder
source§fn default() -> ConfluenceBlogToIndexFieldMappingBuilder
fn default() -> ConfluenceBlogToIndexFieldMappingBuilder
source§impl PartialEq for ConfluenceBlogToIndexFieldMappingBuilder
impl PartialEq for ConfluenceBlogToIndexFieldMappingBuilder
source§fn eq(&self, other: &ConfluenceBlogToIndexFieldMappingBuilder) -> bool
fn eq(&self, other: &ConfluenceBlogToIndexFieldMappingBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfluenceBlogToIndexFieldMappingBuilder
Auto Trait Implementations§
impl Freeze for ConfluenceBlogToIndexFieldMappingBuilder
impl RefUnwindSafe for ConfluenceBlogToIndexFieldMappingBuilder
impl Send for ConfluenceBlogToIndexFieldMappingBuilder
impl Sync for ConfluenceBlogToIndexFieldMappingBuilder
impl Unpin for ConfluenceBlogToIndexFieldMappingBuilder
impl UnwindSafe for ConfluenceBlogToIndexFieldMappingBuilder
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> 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