pub enum Recurrence {
Once,
Weekdays,
Weekends,
Daily,
Unspecified(String),
}Variants§
Once
Weekdays
Weekends
Daily
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for Recurrence
impl Clone for Recurrence
Source§fn clone(&self) -> Recurrence
fn clone(&self) -> Recurrence
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 Recurrence
impl Debug for Recurrence
Source§impl Default for Recurrence
impl Default for Recurrence
Source§fn default() -> Recurrence
fn default() -> Recurrence
Returns the “default value” for a type. Read more
Source§impl FromStr for Recurrence
impl FromStr for Recurrence
Source§impl<'xml> FromXml<'xml> for Recurrence
impl<'xml> FromXml<'xml> for Recurrence
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<Recurrence>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for Recurrence
impl PartialEq for Recurrence
Source§impl ToString for Recurrence
impl ToString for Recurrence
Source§impl ToXml for Recurrence
impl ToXml for Recurrence
impl Eq for Recurrence
impl StructuralPartialEq for Recurrence
Auto Trait Implementations§
impl Freeze for Recurrence
impl RefUnwindSafe for Recurrence
impl Send for Recurrence
impl Sync for Recurrence
impl Unpin for Recurrence
impl UnwindSafe for Recurrence
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