#[non_exhaustive]pub enum KeyOneof {
Key(String),
CompositeKey(Box<CompositeKey>),
}Available on crate feature
feature-online-store-service only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Key(String)
String key to use for lookup.
CompositeKey(Box<CompositeKey>)
The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.
Trait Implementations§
impl StructuralPartialEq for KeyOneof
Auto Trait Implementations§
impl Freeze for KeyOneof
impl RefUnwindSafe for KeyOneof
impl Send for KeyOneof
impl Sync for KeyOneof
impl Unpin for KeyOneof
impl UnsafeUnpin for KeyOneof
impl UnwindSafe for KeyOneof
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