pub struct RuleSequence {
pub day_selector: DaySelector,
pub time_selector: TimeSelector,
pub kind: RuleKind,
pub operator: RuleOperator,
pub comments: UniqueSortedVec<Arc<str>>,
}
Fields§
§day_selector: DaySelector
§time_selector: TimeSelector
§kind: RuleKind
§operator: RuleOperator
§comments: UniqueSortedVec<Arc<str>>
Implementations§
Source§impl RuleSequence
impl RuleSequence
Sourcepub fn is_constant(&self) -> bool
pub fn is_constant(&self) -> bool
If this returns true
, then this expression is always open, but it
can’t detect all cases.
Trait Implementations§
Source§impl Clone for RuleSequence
impl Clone for RuleSequence
Source§fn clone(&self) -> RuleSequence
fn clone(&self) -> RuleSequence
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 RuleSequence
impl Debug for RuleSequence
Source§impl Display for RuleSequence
impl Display for RuleSequence
Source§impl Hash for RuleSequence
impl Hash for RuleSequence
Source§impl PartialEq for RuleSequence
impl PartialEq for RuleSequence
impl Eq for RuleSequence
impl StructuralPartialEq for RuleSequence
Auto Trait Implementations§
impl Freeze for RuleSequence
impl RefUnwindSafe for RuleSequence
impl Send for RuleSequence
impl Sync for RuleSequence
impl Unpin for RuleSequence
impl UnwindSafe for RuleSequence
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