Device Detection and IP Intelligence for the 51Degrees Pipeline, in Rust

StarSignBoundary Struct Reference

Detailed Description

One row of the star-sign table.

A sign runs from start (a month and day, inclusive of the day after) up to end. The comparison is on the month-and-day only, the year is irrelevant, so a date is just reduced to its (month, day) before it is tested against the boundaries.

Public Attributes

pub name: &'static str
 The sign's name, for example "Aries".
pub pub start: (u32
 The first month-and-day of the sign, exclusive of the boundary itself (a strict > comparison).
pub pub u32
pub pub pub end: (u32
 The last month-and-day of the sign, exclusive of the boundary itself (a strict < comparison).
pub pub pub u32

Member Data Documentation

◆ end

pub pub pub StarSignBoundary::end

The last month-and-day of the sign, exclusive of the boundary itself (a strict < comparison).

◆ name

pub StarSignBoundary::name

The sign's name, for example "Aries".

◆ start

pub pub StarSignBoundary::start

The first month-and-day of the sign, exclusive of the boundary itself (a strict > comparison).

◆ u32 [1/2]

pub pub pub StarSignBoundary::u32

◆ u32 [2/2]

pub pub StarSignBoundary::u32