Skip to main content

AlmanacData

Struct AlmanacData 

Source
pub struct AlmanacData {
Show 18 fields pub profile: String, pub travel_meta: SourceMeta, pub conflict_meta: SourceMeta, pub na_am_meta: SourceMeta, pub star_meta: SourceMeta, pub day_deity_meta: SourceMeta, pub taboo_rule_meta: TabooRuleMetaSet, pub travel_by_can: HashMap<String, TravelRule>, pub conflict_by_chi: HashMap<String, ConflictRule>, pub sexagenary_na_am: HashMap<String, NaAmEntry>, pub nhi_thap_bat_tu: Vec<DayStarRule>, pub star_rule_meta: StarRuleMetaSet, pub star_rules_fixed_by_canchi: HashMap<String, StarRuleBucket>, pub star_rules_by_year_can: HashMap<String, StarRuleBucket>, pub star_rules_by_lunar_month: HashMap<u8, StarRuleBucket>, pub star_rules_by_tiet_khi: HashMap<String, StarRuleBucket>, pub day_deity_rule_set: DayDeityRuleSet, pub taboo_rules: TabooRuleSets,
}

Fields§

§profile: String§travel_meta: SourceMeta§conflict_meta: SourceMeta§na_am_meta: SourceMeta§star_meta: SourceMeta§day_deity_meta: SourceMeta§taboo_rule_meta: TabooRuleMetaSet§travel_by_can: HashMap<String, TravelRule>§conflict_by_chi: HashMap<String, ConflictRule>§sexagenary_na_am: HashMap<String, NaAmEntry>§nhi_thap_bat_tu: Vec<DayStarRule>§star_rule_meta: StarRuleMetaSet§star_rules_fixed_by_canchi: HashMap<String, StarRuleBucket>§star_rules_by_year_can: HashMap<String, StarRuleBucket>§star_rules_by_lunar_month: HashMap<u8, StarRuleBucket>§star_rules_by_tiet_khi: HashMap<String, StarRuleBucket>§day_deity_rule_set: DayDeityRuleSet§taboo_rules: TabooRuleSets

Trait Implementations§

Source§

impl Clone for AlmanacData

Source§

fn clone(&self) -> AlmanacData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AlmanacData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.