#[non_exhaustive]pub struct SelectEntity {
pub entity_id_selector: Option<EntityIdSelector>,
/* private fields */
}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: Into<Option<EntityIdSelector>>>(
self,
v: T,
) -> Self
pub fn set_entity_id_selector<T: Into<Option<EntityIdSelector>>>( self, v: T, ) -> Self
Sets the value of entity_id_selector.
Trait Implementations§
Source§impl Clone for SelectEntity
impl Clone for SelectEntity
Source§fn clone(&self) -> SelectEntity
fn clone(&self) -> SelectEntity
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 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<'de> Deserialize<'de> for SelectEntitywhere
SelectEntity: Default,
impl<'de> Deserialize<'de> for SelectEntitywhere
SelectEntity: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for SelectEntity
impl Message for SelectEntity
Source§impl PartialEq for SelectEntity
impl PartialEq for SelectEntity
Source§impl Serialize for SelectEntity
impl Serialize 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