You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: column.rs
    path of file: ./repos/prisma-engines/schema-engine/connectors/sql-schema-connector/src/sql_schema_differ
    
    the code of the file until where you have to start completion: use crate::{flavour::SqlFlavour, migration_pair::MigrationPair};
use enumflags2::BitFlags;

use sql_schema_describer::{walkers::TableColumnWalker, DefaultKind, PrismaValue};

pub(crate) fn all_changes(cols: MigrationPair<TableColumnWalker<'_>>, flavour: &dyn SqlFlavour) -> ColumnChanges {
    let mut changes = BitFlags::empty();
    let type_change = flavour.column_type_change(cols);

    if cols.previous.arity() != cols.next.arity() {
        changes |= ColumnChange::Arity

    
pub(crate) fn all_changes(cols: MigrationPair<TableColumnWalker<'_>>, flavour: &dyn SqlFlavour) -> ColumnChanges {
    let mut changes = BitFlags::empty();
    let type_change = flavour.column_type_change(cols);

    if cols.previous.arity() != cols.next.arity() {
        changes |= ColumnChange::Arity
    };

    if type_change.is_some() {
        changes |= ColumnChange::TypeChanged;
    };

    if !defaults_match(cols, flavour) {
        changes |= ColumnChange::Default;
    };

    if flavour.column_autoincrement_changed(cols) {
        changes |= ColumnChange::Autoincrement;
    }

    ColumnChanges { type_change, changes }
}