pub struct FestivalInsightDto {
pub names: LocalizedListDto,
pub origin: Option<LocalizedTextDto>,
pub activities: 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>§activities: Option<LocalizedListDto>§food: Vec<FoodInsightDto>§taboos: Vec<TabooInsightDto>§proverbs: Vec<ProverbInsightDto>§regions: Option<RegionsInsightDto>§category: String§is_major: boolTrait Implementations§
Source§impl Clone for FestivalInsightDto
impl Clone for FestivalInsightDto
Source§fn clone(&self) -> FestivalInsightDto
fn clone(&self) -> FestivalInsightDto
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 FestivalInsightDto
impl Debug for FestivalInsightDto
Source§impl<'de> Deserialize<'de> for FestivalInsightDto
impl<'de> Deserialize<'de> for FestivalInsightDto
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<&LunarFestivalData> for FestivalInsightDto
impl From<&LunarFestivalData> for FestivalInsightDto
Source§fn from(value: &LunarFestivalData) -> Self
fn from(value: &LunarFestivalData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FestivalInsightDto
impl RefUnwindSafe for FestivalInsightDto
impl Send for FestivalInsightDto
impl Sync for FestivalInsightDto
impl Unpin for FestivalInsightDto
impl UnsafeUnpin for FestivalInsightDto
impl UnwindSafe for FestivalInsightDto
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