pub struct DayFortuneDto {Show 14 fields
pub ruleset_id: String,
pub ruleset_version: String,
pub profile: String,
pub day_element: DayElementDto,
pub conflict: DayConflictDto,
pub travel: TravelDirectionDto,
pub stars: DayStarsDto,
pub day_deity: Option<DayDeityDto>,
pub taboos: Vec<DayTabooDto>,
pub xung_hop: XungHopDto,
pub truc: TrucDto,
pub tang_can: Option<TangCanDto>,
pub ten_gods: Option<DayTenGodsDto>,
pub tu_menh: Option<KuaResultDto>,
}Fields§
§ruleset_id: String§ruleset_version: String§profile: String§day_element: DayElementDto§conflict: DayConflictDto§travel: TravelDirectionDto§stars: DayStarsDto§day_deity: Option<DayDeityDto>§taboos: Vec<DayTabooDto>§xung_hop: XungHopDto§truc: TrucDto§tang_can: Option<TangCanDto>§ten_gods: Option<DayTenGodsDto>Ten Gods relations for predefined targets (populated when day stem available)
tu_menh: Option<KuaResultDto>Kua (Tu Mến) result (populated only when birth year and gender provided)
Trait Implementations§
Source§impl Clone for DayFortuneDto
impl Clone for DayFortuneDto
Source§fn clone(&self) -> DayFortuneDto
fn clone(&self) -> DayFortuneDto
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 DayFortuneDto
impl Debug for DayFortuneDto
Source§impl<'de> Deserialize<'de> for DayFortuneDto
impl<'de> Deserialize<'de> for DayFortuneDto
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<&DayFortune> for DayFortuneDto
impl From<&DayFortune> for DayFortuneDto
Source§fn from(value: &DayFortune) -> Self
fn from(value: &DayFortune) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DayFortuneDto
impl RefUnwindSafe for DayFortuneDto
impl Send for DayFortuneDto
impl Sync for DayFortuneDto
impl Unpin for DayFortuneDto
impl UnsafeUnpin for DayFortuneDto
impl UnwindSafe for DayFortuneDto
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