pub struct ElectionFactor {
pub code: &'static str,
pub weight: f64,
pub planet: Option<&'static str>,
pub target: Option<String>,
pub aspect: Option<&'static str>,
pub house: Option<u8>,
pub sign: Option<&'static str>,
}Expand description
One electional rule that applies to a moment.
Fields§
§code: &'static strStable code, e.g. “MOON_VOC”, “BENEFIC_ANGULAR”.
weight: f64Points added to (or, when negative, taken from) the score.
planet: Option<&'static str>The election planet the rule is about, if any.
target: Option<String>The other party: the planet aspected, or the natal point contacted.
aspect: Option<&'static str>Aspect name, e.g. “Trine”, for the rules about aspects.
house: Option<u8>House (1-12) of planet, for the rules about houses.
sign: Option<&'static str>Sign of planet, for the rules about dignity.
Trait Implementations§
Source§impl Clone for ElectionFactor
impl Clone for ElectionFactor
Source§impl Debug for ElectionFactor
impl Debug for ElectionFactor
Source§impl PartialEq for ElectionFactor
impl PartialEq for ElectionFactor
Source§impl Serialize for ElectionFactor
impl Serialize for ElectionFactor
impl StructuralPartialEq for ElectionFactor
Auto Trait Implementations§
impl Freeze for ElectionFactor
impl RefUnwindSafe for ElectionFactor
impl Send for ElectionFactor
impl Sync for ElectionFactor
impl Unpin for ElectionFactor
impl UnsafeUnpin for ElectionFactor
impl UnwindSafe for ElectionFactor
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