fn add_include(&mut self, name: impl Into<String>) {
        match self {
            Self::None => {
                *self = Self::Include([name.into()].into_iter().collect());
            }
            Self::Include(cols) => {
                cols.insert(name.into());
            }
            Self::Exclude(_) => {
                unreachable!("previously had '!=' and now have '=' not caught")
            }
        }
    }
// Add `name` as a included field name
Add `name` as a included field name
Add ` name ` as a included field name
fn add_include(&mut self, name: impl Into<String>) {
        match self {
            Self::None => {
                *self = Self::Include([name.into()].into_iter().collect());
            }
            Self::Include(cols) => {
                cols.insert(name.into());
            }
            Self::Exclude(_) => {
                unreachable!("previously had '!=' and now have '=' not caught")
            }
        }
    }
fn add_include ( & mut self , name : impl Into < String > ) { match self { Self :: None => { * self = Self :: Include ( [ name . into ( ) ] . into_iter ( ) . collect ( ) ) ; } Self :: Include ( cols ) => { cols . insert ( name . into ( ) ) ; } Self :: Exclude ( _ ) => { unreachable ! ( " " ) } } }
Add `name` as a included field name
Add ` name ` as a included field name
&mut self
name
impl Into<String>
&mut self
name
impl Into<String>