#[non_exhaustive]pub struct MissingNamedPlaceholderError<'a> {
pub name: &'a str,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: &'a str
Trait Implementations§
Source§impl<'a> Clone for MissingNamedPlaceholderError<'a>
impl<'a> Clone for MissingNamedPlaceholderError<'a>
Source§fn clone(&self) -> MissingNamedPlaceholderError<'a>
fn clone(&self) -> MissingNamedPlaceholderError<'a>
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<'a> Debug for MissingNamedPlaceholderError<'a>
impl<'a> Debug for MissingNamedPlaceholderError<'a>
Source§impl<'a> PartialEq for MissingNamedPlaceholderError<'a>
impl<'a> PartialEq for MissingNamedPlaceholderError<'a>
Source§fn eq(&self, other: &MissingNamedPlaceholderError<'a>) -> bool
fn eq(&self, other: &MissingNamedPlaceholderError<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Writeable for MissingNamedPlaceholderError<'_>
impl Writeable for MissingNamedPlaceholderError<'_>
Source§fn write_to<W: Write + ?Sized>(&self, sink: &mut W) -> Result
fn write_to<W: Write + ?Sized>(&self, sink: &mut W) -> Result
Writes a string to the given sink. Errors from the sink are bubbled up.
The default implementation delegates to
write_to_parts
, and discards any
Part
annotations.§fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
Write bytes and
Part
annotations to the given sink. Errors from the
sink are bubbled up. The default implementation delegates to write_to
,
and doesn’t produce any Part
annotations.§fn writeable_length_hint(&self) -> LengthHint
fn writeable_length_hint(&self) -> LengthHint
Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
§fn write_to_string(&self) -> Cow<'_, str>
fn write_to_string(&self) -> Cow<'_, str>
Creates a new
String
with the data from this Writeable
. Like ToString
,
but smaller and faster. Read moreimpl<'a> Eq for MissingNamedPlaceholderError<'a>
impl<'a> StructuralPartialEq for MissingNamedPlaceholderError<'a>
Auto Trait Implementations§
impl<'a> Freeze for MissingNamedPlaceholderError<'a>
impl<'a> RefUnwindSafe for MissingNamedPlaceholderError<'a>
impl<'a> Send for MissingNamedPlaceholderError<'a>
impl<'a> Sync for MissingNamedPlaceholderError<'a>
impl<'a> Unpin for MissingNamedPlaceholderError<'a>
impl<'a> UnwindSafe for MissingNamedPlaceholderError<'a>
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