#[non_exhaustive]pub struct SelectEntity {
pub entity_id_selector: Option<EntityIdSelector>,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
Message to select entity. If an entity id is selected, all the feature values corresponding to the entity id will be deleted, including the entityId.
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.entity_id_selector: Option<EntityIdSelector>Required. Selectors choosing feature values of which entity id to be deleted from the EntityType.
Implementations§
Source§impl SelectEntity
impl SelectEntity
pub fn new() -> Self
Sourcepub fn set_entity_id_selector<T>(self, v: T) -> Selfwhere
T: Into<EntityIdSelector>,
pub fn set_entity_id_selector<T>(self, v: T) -> Selfwhere
T: Into<EntityIdSelector>,
Sets the value of entity_id_selector.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::EntityIdSelector;
let x = SelectEntity::new().set_entity_id_selector(EntityIdSelector::default()/* use setters */);Sourcepub fn set_or_clear_entity_id_selector<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntityIdSelector>,
pub fn set_or_clear_entity_id_selector<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntityIdSelector>,
Sets or clears the value of entity_id_selector.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::EntityIdSelector;
let x = SelectEntity::new().set_or_clear_entity_id_selector(Some(EntityIdSelector::default()/* use setters */));
let x = SelectEntity::new().set_or_clear_entity_id_selector(None::<EntityIdSelector>);Trait Implementations§
Source§impl Clone for SelectEntity
impl Clone for SelectEntity
Source§fn clone(&self) -> SelectEntity
fn clone(&self) -> SelectEntity
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 SelectEntity
impl Debug for SelectEntity
Source§impl Default for SelectEntity
impl Default for SelectEntity
Source§fn default() -> SelectEntity
fn default() -> SelectEntity
Returns the “default value” for a type. Read more
Source§impl Message for SelectEntity
impl Message for SelectEntity
Source§impl PartialEq for SelectEntity
impl PartialEq for SelectEntity
impl StructuralPartialEq for SelectEntity
Auto Trait Implementations§
impl Freeze for SelectEntity
impl RefUnwindSafe for SelectEntity
impl Send for SelectEntity
impl Sync for SelectEntity
impl Unpin for SelectEntity
impl UnwindSafe for SelectEntity
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