pub struct DayInfoDto {
pub ruleset_id: String,
pub ruleset_version: String,
pub profile: String,
pub solar: SolarDto,
pub lunar: LunarDto,
pub jd: i32,
pub canchi: CanChiInfoDto,
pub tiet_khi: TietKhiDto,
pub gio_hoang_dao: GioHoangDaoDto,
pub day_fortune: Option<DayFortuneDto>,
pub daily_recommendations: DailyRecommendationsDto,
pub contextual_recommendations: Option<DailyRecommendationsDto>,
}Fields§
§ruleset_id: String§ruleset_version: String§profile: String§solar: SolarDto§lunar: LunarDto§jd: i32§canchi: CanChiInfoDto§tiet_khi: TietKhiDto§gio_hoang_dao: GioHoangDaoDto§day_fortune: Option<DayFortuneDto>§daily_recommendations: DailyRecommendationsDto§contextual_recommendations: Option<DailyRecommendationsDto>Trait Implementations§
Source§impl Clone for DayInfoDto
impl Clone for DayInfoDto
Source§fn clone(&self) -> DayInfoDto
fn clone(&self) -> DayInfoDto
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 DayInfoDto
impl Debug for DayInfoDto
Source§impl<'de> Deserialize<'de> for DayInfoDto
impl<'de> Deserialize<'de> for DayInfoDto
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<&DayInfoDto> for ApiMetaDto
impl From<&DayInfoDto> for ApiMetaDto
Source§fn from(info: &DayInfoDto) -> Self
fn from(info: &DayInfoDto) -> Self
Converts to this type from the input type.
Source§impl From<&DaySnapshot> for DayInfoDto
impl From<&DaySnapshot> for DayInfoDto
Source§fn from(value: &DaySnapshot) -> Self
fn from(value: &DaySnapshot) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DayInfoDto
impl RefUnwindSafe for DayInfoDto
impl Send for DayInfoDto
impl Sync for DayInfoDto
impl Unpin for DayInfoDto
impl UnsafeUnpin for DayInfoDto
impl UnwindSafe for DayInfoDto
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