pub enum InfoResponse<'st> {
AssertionStackLevels(Numeral<'st>),
Authors(&'st str),
ErrorBehavior(ErrorBehavior),
Name(&'st str),
ReasonUnknown(ReasonUnknown<'st>),
Version(&'st str),
Attribute(Attribute<'st>),
}
Variants§
AssertionStackLevels(Numeral<'st>)
:assertion-stack-levels <numeral>
Authors(&'st str)
:authors <string>
ErrorBehavior(ErrorBehavior)
:error-behavior <error-behavior>
Name(&'st str)
:name <string>
ReasonUnknown(ReasonUnknown<'st>)
:reason-unknown <reason-unknown>
Version(&'st str)
:version <string>
Attribute(Attribute<'st>)
<attribute>
Implementations§
Source§impl<'st> InfoResponse<'st>
impl<'st> InfoResponse<'st>
Trait Implementations§
Source§impl<'st> Clone for InfoResponse<'st>
impl<'st> Clone for InfoResponse<'st>
Source§fn clone(&self) -> InfoResponse<'st>
fn clone(&self) -> InfoResponse<'st>
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<'st> Debug for InfoResponse<'st>
impl<'st> Debug for InfoResponse<'st>
Source§impl Display for InfoResponse<'_>
impl Display for InfoResponse<'_>
Source§impl<'st> Hash for InfoResponse<'st>
impl<'st> Hash for InfoResponse<'st>
Source§impl<'st> PartialEq for InfoResponse<'st>
impl<'st> PartialEq for InfoResponse<'st>
impl<'st> Copy for InfoResponse<'st>
impl<'st> Eq for InfoResponse<'st>
impl<'st> StructuralPartialEq for InfoResponse<'st>
Auto Trait Implementations§
impl<'st> Freeze for InfoResponse<'st>
impl<'st> RefUnwindSafe for InfoResponse<'st>
impl<'st> Send for InfoResponse<'st>
impl<'st> Sync for InfoResponse<'st>
impl<'st> Unpin for InfoResponse<'st>
impl<'st> UnwindSafe for InfoResponse<'st>
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