I am new to rust and I don't have much experience, what I am trying is to create a new row in my database in which the table is the following from a MariaDB database
and for that he planned to use a structure like the following
#[derive(sqlx::FromRow, Serialize, Deserialize, Debug)]
pub struct Bar {
pub id: Option<i32>,
pub name: Option<String>,
pub description: Option<String>,
pub address: Option<String>,
pub create_At: Option<NaiveDateTime>,
pub update: Option<NaiveDateTime>,
pub schedule: Option<String>,
pub capacitance_idcapacitance: Option<i32>,
// pub coors
}
And my question is, what type did the Coors field create? Or how could I save this information in the database?