pub struct HolidayInsightDto {
pub names: LocalizedListDto,
pub origin: Option<LocalizedTextDto>,
pub significance: Option<LocalizedTextDto>,
pub activities: Option<LocalizedListDto>,
pub traditions: Option<LocalizedListDto>,
pub food: Vec<FoodInsightDto>,
pub taboos: Vec<TabooInsightDto>,
pub proverbs: Vec<ProverbInsightDto>,
pub regions: Option<RegionsInsightDto>,
pub category: String,
pub is_major: bool,
}Fields§
§names: LocalizedListDto§origin: Option<LocalizedTextDto>§significance: Option<LocalizedTextDto>§activities: Option<LocalizedListDto>§traditions: Option<LocalizedListDto>§food: Vec<FoodInsightDto>§taboos: Vec<TabooInsightDto>§proverbs: Vec<ProverbInsightDto>§regions: Option<RegionsInsightDto>§category: String§is_major: boolTrait Implementations§
Source§impl Clone for HolidayInsightDto
impl Clone for HolidayInsightDto
Source§fn clone(&self) -> HolidayInsightDto
fn clone(&self) -> HolidayInsightDto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HolidayInsightDto
impl Debug for HolidayInsightDto
Source§impl<'de> Deserialize<'de> for HolidayInsightDto
impl<'de> Deserialize<'de> for HolidayInsightDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SolarHolidayData> for HolidayInsightDto
impl From<&SolarHolidayData> for HolidayInsightDto
Source§fn from(value: &SolarHolidayData) -> Self
fn from(value: &SolarHolidayData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HolidayInsightDto
impl RefUnwindSafe for HolidayInsightDto
impl Send for HolidayInsightDto
impl Sync for HolidayInsightDto
impl Unpin for HolidayInsightDto
impl UnsafeUnpin for HolidayInsightDto
impl UnwindSafe for HolidayInsightDto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more