pub enum FieldSelection {
All,
Only(HashSet<String>),
Except(HashSet<String>),
}Expand description
Field selection mode.
Variants§
All
Select all fields.
Only(HashSet<String>)
Select only these fields.
Except(HashSet<String>)
Select all except these fields.
Implementations§
Trait Implementations§
Source§impl Clone for FieldSelection
impl Clone for FieldSelection
Source§fn clone(&self) -> FieldSelection
fn clone(&self) -> FieldSelection
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldSelection
impl Debug for FieldSelection
Auto Trait Implementations§
impl Freeze for FieldSelection
impl RefUnwindSafe for FieldSelection
impl Send for FieldSelection
impl Sync for FieldSelection
impl Unpin for FieldSelection
impl UnwindSafe for FieldSelection
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)