pub struct RuleSequence {
pub day_selector: DaySelector,
pub time_selector: TimeSelector,
pub kind: RuleKind,
pub operator: RuleOperator,
pub comments: UniqueSortedVec<String>,
}Fields§
§day_selector: DaySelector§time_selector: TimeSelector§kind: RuleKind§operator: RuleOperator§comments: UniqueSortedVec<String>Implementations§
Source§impl RuleSequence
impl RuleSequence
Sourcepub fn write_rules_seq(f: &mut Formatter<'_>, seq: &[RuleSequence]) -> Result
pub fn write_rules_seq(f: &mut Formatter<'_>, seq: &[RuleSequence]) -> Result
Pretty print the rules set through given writer.
Trait Implementations§
Source§impl Clone for RuleSequence
impl Clone for RuleSequence
Source§fn clone(&self) -> RuleSequence
fn clone(&self) -> RuleSequence
Returns a copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)