Enum imap_types::extensions::uidplus::UidElement
source · pub enum UidElement {
Single(NonZeroU32),
Range(NonZeroU32, NonZeroU32),
}
Variants§
Single(NonZeroU32)
Range(NonZeroU32, NonZeroU32)
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for UidElement
impl<'arbitrary> Arbitrary<'arbitrary> for UidElement
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 Clone for UidElement
impl Clone for UidElement
source§fn clone(&self) -> UidElement
fn clone(&self) -> UidElement
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 UidElement
impl Debug for UidElement
source§impl<'de> Deserialize<'de> for UidElement
impl<'de> Deserialize<'de> for UidElement
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 Hash for UidElement
impl Hash for UidElement
source§impl IntoBoundedStatic for UidElement
impl IntoBoundedStatic for UidElement
source§type Static = UidElement
type Static = UidElement
The target type is bounded by the
'static
lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.source§impl PartialEq for UidElement
impl PartialEq for UidElement
source§impl Serialize for UidElement
impl Serialize for UidElement
source§impl ToBoundedStatic for UidElement
impl ToBoundedStatic for UidElement
impl Eq for UidElement
impl StructuralPartialEq for UidElement
Auto Trait Implementations§
impl Freeze for UidElement
impl RefUnwindSafe for UidElement
impl Send for UidElement
impl Sync for UidElement
impl Unpin for UidElement
impl UnwindSafe for UidElement
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
)