pub struct NoExtras;Expand description
Empty extras.
This type can be used if extras are not required.
It is also the default type parameter of Uri.
Trait Implementations§
Source§impl DeserializationError for NoExtras
impl DeserializationError for NoExtras
Source§type Error = Infallible
type Error = Infallible
The error returned when deserialization fails.
Source§impl DeserializeParams<'_> for NoExtras
impl DeserializeParams<'_> for NoExtras
Source§type DeserializationState = EmptyState
type DeserializationState = EmptyState
State used when deserializing.
Source§impl Ord for NoExtras
impl Ord for NoExtras
Source§impl PartialOrd for NoExtras
impl PartialOrd for NoExtras
Source§impl SerializeParams for &NoExtras
impl SerializeParams for &NoExtras
Source§type Key = Infallible
type Key = Infallible
Parameter name. Read more
Source§type Value = Infallible
type Value = Infallible
Parameter value.
Source§type Iterator = Empty<(<&NoExtras as SerializeParams>::Key, <&NoExtras as SerializeParams>::Value)>
type Iterator = Empty<(<&NoExtras as SerializeParams>::Key, <&NoExtras as SerializeParams>::Value)>
Iterator over key-value pairs
Source§fn serialize_params(self) -> Self::Iterator
fn serialize_params(self) -> Self::Iterator
Constructs the iterator over key-value pairs.
impl Copy for NoExtras
impl Eq for NoExtras
impl StructuralPartialEq for NoExtras
Auto Trait Implementations§
impl Freeze for NoExtras
impl RefUnwindSafe for NoExtras
impl Send for NoExtras
impl Sync for NoExtras
impl Unpin for NoExtras
impl UnwindSafe for NoExtras
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more