Enum imap_types::sequence::Sequence
source · pub enum Sequence {
Single(SeqOrUid),
Range(SeqOrUid, SeqOrUid),
}
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Sequence
impl<'arbitrary> Arbitrary<'arbitrary> for Sequence
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Sequence
impl<'de> Deserialize<'de> for Sequence
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<NonZeroU32> for Sequence
impl From<NonZeroU32> for Sequence
source§fn from(value: NonZeroU32) -> Self
fn from(value: NonZeroU32) -> Self
Converts to this type from the input type.
source§impl From<RangeFrom<NonZeroU32>> for Sequence
impl From<RangeFrom<NonZeroU32>> for Sequence
source§fn from(range: RangeFrom<NonZeroU32>) -> Self
fn from(range: RangeFrom<NonZeroU32>) -> Self
Converts to this type from the input type.
source§impl From<RangeInclusive<NonZeroU32>> for Sequence
impl From<RangeInclusive<NonZeroU32>> for Sequence
source§fn from(range: RangeInclusive<NonZeroU32>) -> Self
fn from(range: RangeInclusive<NonZeroU32>) -> Self
Converts to this type from the input type.
source§impl From<RangeToInclusive<NonZeroU32>> for Sequence
impl From<RangeToInclusive<NonZeroU32>> for Sequence
source§fn from(range: RangeToInclusive<NonZeroU32>) -> Self
fn from(range: RangeToInclusive<NonZeroU32>) -> Self
Converts to this type from the input type.
source§impl From<Sequence> for SequenceSet
impl From<Sequence> for SequenceSet
source§impl IntoBoundedStatic for Sequence
impl IntoBoundedStatic for Sequence
source§impl PartialEq<Sequence> for Sequence
impl PartialEq<Sequence> for Sequence
source§impl ToBoundedStatic for Sequence
impl ToBoundedStatic for Sequence
source§impl TryFrom<Range<NonZeroU32>> for Sequence
impl TryFrom<Range<NonZeroU32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i16>> for Sequence
impl TryFrom<RangeInclusive<i16>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i32>> for Sequence
impl TryFrom<RangeInclusive<i32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i64>> for Sequence
impl TryFrom<RangeInclusive<i64>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<i8>> for Sequence
impl TryFrom<RangeInclusive<i8>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<isize>> for Sequence
impl TryFrom<RangeInclusive<isize>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u16>> for Sequence
impl TryFrom<RangeInclusive<u16>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u32>> for Sequence
impl TryFrom<RangeInclusive<u32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u64>> for Sequence
impl TryFrom<RangeInclusive<u64>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<u8>> for Sequence
impl TryFrom<RangeInclusive<u8>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeInclusive<usize>> for Sequence
impl TryFrom<RangeInclusive<usize>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeTo<NonZeroU32>> for Sequence
impl TryFrom<RangeTo<NonZeroU32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i16>> for Sequence
impl TryFrom<RangeToInclusive<i16>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i32>> for Sequence
impl TryFrom<RangeToInclusive<i32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i64>> for Sequence
impl TryFrom<RangeToInclusive<i64>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<i8>> for Sequence
impl TryFrom<RangeToInclusive<i8>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<isize>> for Sequence
impl TryFrom<RangeToInclusive<isize>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u16>> for Sequence
impl TryFrom<RangeToInclusive<u16>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u32>> for Sequence
impl TryFrom<RangeToInclusive<u32>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u64>> for Sequence
impl TryFrom<RangeToInclusive<u64>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<u8>> for Sequence
impl TryFrom<RangeToInclusive<u8>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
source§impl TryFrom<RangeToInclusive<usize>> for Sequence
impl TryFrom<RangeToInclusive<usize>> for Sequence
§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
impl Eq for Sequence
impl StructuralEq for Sequence
impl StructuralPartialEq for Sequence
Auto Trait Implementations§
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
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