pub enum RingDuration {
Normal,
Single,
Unknown(u32),
}Expand description
Whether a ringer command applies once or continuously.
Variants§
Normal
Single
Unknown(u32)
Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.
Implementations§
Trait Implementations§
Source§impl Clone for RingDuration
impl Clone for RingDuration
Source§fn clone(&self) -> RingDuration
fn clone(&self) -> RingDuration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RingDuration
Source§impl Debug for RingDuration
impl Debug for RingDuration
impl Eq for RingDuration
Source§impl From<RingDuration> for u32
impl From<RingDuration> for u32
Source§fn from(value: RingDuration) -> Self
fn from(value: RingDuration) -> Self
Converts to this type from the input type.
Source§impl From<u32> for RingDuration
impl From<u32> for RingDuration
Source§impl Hash for RingDuration
impl Hash for RingDuration
Source§impl PartialEq for RingDuration
impl PartialEq for RingDuration
impl StructuralPartialEq for RingDuration
Auto Trait Implementations§
impl Freeze for RingDuration
impl RefUnwindSafe for RingDuration
impl Send for RingDuration
impl Sync for RingDuration
impl Unpin for RingDuration
impl UnsafeUnpin for RingDuration
impl UnwindSafe for RingDuration
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