#[non_exhaustive]pub struct ImportFeatureValuesResponse {
pub imported_entity_count: i64,
pub imported_feature_value_count: i64,
pub invalid_row_count: i64,
pub timestamp_outside_retention_rows_count: i64,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
Response message for FeaturestoreService.ImportFeatureValues.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.imported_entity_count: i64Number of entities that have been imported by the operation.
imported_feature_value_count: i64Number of Feature values that have been imported by the operation.
invalid_row_count: i64The number of rows in input source that weren’t imported due to either
- Not having any featureValues.
- Having a null entityId.
- Having a null timestamp.
- Not being parsable (applicable for CSV sources).
timestamp_outside_retention_rows_count: i64The number rows that weren’t ingested due to having feature timestamps outside the retention boundary.
Implementations§
Source§impl ImportFeatureValuesResponse
impl ImportFeatureValuesResponse
pub fn new() -> Self
Sourcepub fn set_imported_entity_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_imported_entity_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of imported_entity_count.
§Example
ⓘ
let x = ImportFeatureValuesResponse::new().set_imported_entity_count(42);Sourcepub fn set_imported_feature_value_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_imported_feature_value_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of imported_feature_value_count.
§Example
ⓘ
let x = ImportFeatureValuesResponse::new().set_imported_feature_value_count(42);Sourcepub fn set_invalid_row_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_invalid_row_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of invalid_row_count.
§Example
ⓘ
let x = ImportFeatureValuesResponse::new().set_invalid_row_count(42);Sourcepub fn set_timestamp_outside_retention_rows_count<T: Into<i64>>(
self,
v: T,
) -> Self
pub fn set_timestamp_outside_retention_rows_count<T: Into<i64>>( self, v: T, ) -> Self
Sets the value of timestamp_outside_retention_rows_count.
§Example
ⓘ
let x = ImportFeatureValuesResponse::new().set_timestamp_outside_retention_rows_count(42);Trait Implementations§
Source§impl Clone for ImportFeatureValuesResponse
impl Clone for ImportFeatureValuesResponse
Source§fn clone(&self) -> ImportFeatureValuesResponse
fn clone(&self) -> ImportFeatureValuesResponse
Returns a duplicate 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 ImportFeatureValuesResponse
impl Debug for ImportFeatureValuesResponse
Source§impl Default for ImportFeatureValuesResponse
impl Default for ImportFeatureValuesResponse
Source§fn default() -> ImportFeatureValuesResponse
fn default() -> ImportFeatureValuesResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ImportFeatureValuesResponse
Auto Trait Implementations§
impl Freeze for ImportFeatureValuesResponse
impl RefUnwindSafe for ImportFeatureValuesResponse
impl Send for ImportFeatureValuesResponse
impl Sync for ImportFeatureValuesResponse
impl Unpin for ImportFeatureValuesResponse
impl UnwindSafe for ImportFeatureValuesResponse
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