pub enum DynamicFieldSelection {
All,
Fields(BTreeMap<String, DataType>),
}Expand description
Runtime names/types, not SQL columns or generated field slots.
Variants§
Implementations§
Source§impl DynamicFieldSelection
impl DynamicFieldSelection
pub fn fields( fields: impl IntoIterator<Item = (String, DataType)>, ) -> Result<Self, DynamicFieldError>
pub fn validate( &self, definitions: &DynamicFieldDefinitions, ) -> Result<(), DynamicFieldError>
pub fn contains(&self, code: &str) -> bool
Trait Implementations§
Source§impl Clone for DynamicFieldSelection
impl Clone for DynamicFieldSelection
Source§impl Debug for DynamicFieldSelection
impl Debug for DynamicFieldSelection
impl Eq for DynamicFieldSelection
Source§impl PartialEq for DynamicFieldSelection
impl PartialEq for DynamicFieldSelection
impl StructuralPartialEq for DynamicFieldSelection
Auto Trait Implementations§
impl Freeze for DynamicFieldSelection
impl RefUnwindSafe for DynamicFieldSelection
impl Send for DynamicFieldSelection
impl Sync for DynamicFieldSelection
impl Unpin for DynamicFieldSelection
impl UnsafeUnpin for DynamicFieldSelection
impl UnwindSafe for DynamicFieldSelection
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