fn to_table_name(&self) -> TableName {
        let mut columns = vec![];
        for c in &self.columns {
            let column_name = ColumnName {
                schema: self.schema.clone(),
                table: Some(self.name.to_owned()),
                column: c.name.to_owned(),
            };
            columns.push(column_name);
        }
        TableName {
            schema: self.schema.clone(),
            name: self.name.to_owned(),
            columns: columns,
        }
    }
/// contain the columns for later use when renaming is necessary
contain the columns for later use when renaming is necessary
contain the columns for later use when renaming is necessary
fn to_table_name(&self) -> TableName {
        let mut columns = vec![];
        for c in &self.columns {
            let column_name = ColumnName {
                schema: self.schema.clone(),
                table: Some(self.name.to_owned()),
                column: c.name.to_owned(),
            };
            columns.push(column_name);
        }
        TableName {
            schema: self.schema.clone(),
            name: self.name.to_owned(),
            columns: columns,
        }
    }
fn to_table_name ( & self ) -> TableName { let mut columns = vec ! [ ] ; for c in & self . columns { let column_name = ColumnName { schema : self . schema . clone ( ) , table : Some ( self . name . to_owned ( ) ) , column : c . name . to_owned ( ) , } ; columns . push ( column_name ) ; } TableName { schema : self . schema . clone ( ) , name : self . name . to_owned ( ) , columns : columns , } }
contain the columns for later use when renaming is necessary
contain the columns for later use when renaming is necessary
&self
&self