#[non_exhaustive]pub struct DataSourceSyncJobMetricsBuilder { /* private fields */ }Expand description
A builder for DataSourceSyncJobMetrics.
Implementations§
source§impl DataSourceSyncJobMetricsBuilder
impl DataSourceSyncJobMetricsBuilder
sourcepub fn documents_added(self, input: impl Into<String>) -> Self
pub fn documents_added(self, input: impl Into<String>) -> Self
The current count of documents added from the data source during the data source sync.
sourcepub fn set_documents_added(self, input: Option<String>) -> Self
pub fn set_documents_added(self, input: Option<String>) -> Self
The current count of documents added from the data source during the data source sync.
sourcepub fn get_documents_added(&self) -> &Option<String>
pub fn get_documents_added(&self) -> &Option<String>
The current count of documents added from the data source during the data source sync.
sourcepub fn documents_modified(self, input: impl Into<String>) -> Self
pub fn documents_modified(self, input: impl Into<String>) -> Self
The current count of documents modified in the data source during the data source sync.
sourcepub fn set_documents_modified(self, input: Option<String>) -> Self
pub fn set_documents_modified(self, input: Option<String>) -> Self
The current count of documents modified in the data source during the data source sync.
sourcepub fn get_documents_modified(&self) -> &Option<String>
pub fn get_documents_modified(&self) -> &Option<String>
The current count of documents modified in the data source during the data source sync.
sourcepub fn documents_deleted(self, input: impl Into<String>) -> Self
pub fn documents_deleted(self, input: impl Into<String>) -> Self
The current count of documents deleted from the data source during the data source sync.
sourcepub fn set_documents_deleted(self, input: Option<String>) -> Self
pub fn set_documents_deleted(self, input: Option<String>) -> Self
The current count of documents deleted from the data source during the data source sync.
sourcepub fn get_documents_deleted(&self) -> &Option<String>
pub fn get_documents_deleted(&self) -> &Option<String>
The current count of documents deleted from the data source during the data source sync.
sourcepub fn documents_failed(self, input: impl Into<String>) -> Self
pub fn documents_failed(self, input: impl Into<String>) -> Self
The current count of documents that failed to sync from the data source during the data source sync.
sourcepub fn set_documents_failed(self, input: Option<String>) -> Self
pub fn set_documents_failed(self, input: Option<String>) -> Self
The current count of documents that failed to sync from the data source during the data source sync.
sourcepub fn get_documents_failed(&self) -> &Option<String>
pub fn get_documents_failed(&self) -> &Option<String>
The current count of documents that failed to sync from the data source during the data source sync.
sourcepub fn documents_scanned(self, input: impl Into<String>) -> Self
pub fn documents_scanned(self, input: impl Into<String>) -> Self
The current count of documents crawled by the ongoing sync job in the data source.
sourcepub fn set_documents_scanned(self, input: Option<String>) -> Self
pub fn set_documents_scanned(self, input: Option<String>) -> Self
The current count of documents crawled by the ongoing sync job in the data source.
sourcepub fn get_documents_scanned(&self) -> &Option<String>
pub fn get_documents_scanned(&self) -> &Option<String>
The current count of documents crawled by the ongoing sync job in the data source.
sourcepub fn build(self) -> DataSourceSyncJobMetrics
pub fn build(self) -> DataSourceSyncJobMetrics
Consumes the builder and constructs a DataSourceSyncJobMetrics.
Trait Implementations§
source§impl Clone for DataSourceSyncJobMetricsBuilder
impl Clone for DataSourceSyncJobMetricsBuilder
source§fn clone(&self) -> DataSourceSyncJobMetricsBuilder
fn clone(&self) -> DataSourceSyncJobMetricsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DataSourceSyncJobMetricsBuilder
impl Default for DataSourceSyncJobMetricsBuilder
source§fn default() -> DataSourceSyncJobMetricsBuilder
fn default() -> DataSourceSyncJobMetricsBuilder
source§impl PartialEq for DataSourceSyncJobMetricsBuilder
impl PartialEq for DataSourceSyncJobMetricsBuilder
source§fn eq(&self, other: &DataSourceSyncJobMetricsBuilder) -> bool
fn eq(&self, other: &DataSourceSyncJobMetricsBuilder) -> bool
self and other values to be equal, and is used
by ==.