diff --git a/crates/teloxide-core/src/types/business_intro.rs b/crates/teloxide-core/src/types/business_intro.rs index b4ce8694..c4684211 100644 --- a/crates/teloxide-core/src/types/business_intro.rs +++ b/crates/teloxide-core/src/types/business_intro.rs @@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize}; use crate::types::Sticker; /// An introduction for a Business. -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)] pub struct BusinessIntro { /// Title text of the business intro pub title: Option, diff --git a/crates/teloxide-core/src/types/business_location.rs b/crates/teloxide-core/src/types/business_location.rs index 7763a0de..514fe581 100644 --- a/crates/teloxide-core/src/types/business_location.rs +++ b/crates/teloxide-core/src/types/business_location.rs @@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize}; use crate::types::Location; /// Details about the location of a Business -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)] pub struct BusinessLocation { /// Address of the business. pub address: String, diff --git a/crates/teloxide-core/src/types/business_opening_hours.rs b/crates/teloxide-core/src/types/business_opening_hours.rs index 0ebddbfe..f6bac2b9 100644 --- a/crates/teloxide-core/src/types/business_opening_hours.rs +++ b/crates/teloxide-core/src/types/business_opening_hours.rs @@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize}; use crate::types::BusinessOpeningHoursInterval; /// Details about the opening hours of a Business. -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)] pub struct BusinessOpeningHours { /// Unique name of the time zone for which the opening hours are defined. pub time_zone_name: String,