pub enum SessionQueryName {
AllQueries,
AllActions,
Derive,
}
Variants§
Trait Implementations§
Source§impl Clone for SessionQueryName
impl Clone for SessionQueryName
Source§fn clone(&self) -> SessionQueryName
fn clone(&self) -> SessionQueryName
Returns a duplicate 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 SessionQueryName
impl Debug for SessionQueryName
Source§impl Display for SessionQueryName
impl Display for SessionQueryName
Source§impl<'_enum, M> From<&'_enum SessionQueryMsg<M>> for SessionQueryNamewhere
M: QueryUsesActions,
<M as QueryUsesActions>::ActionMsg: IntoDiscriminant,
<<M as QueryUsesActions>::ActionMsg as IntoDiscriminant>::Discriminant: VariantArray + 'static,
impl<'_enum, M> From<&'_enum SessionQueryMsg<M>> for SessionQueryNamewhere
M: QueryUsesActions,
<M as QueryUsesActions>::ActionMsg: IntoDiscriminant,
<<M as QueryUsesActions>::ActionMsg as IntoDiscriminant>::Discriminant: VariantArray + 'static,
Source§fn from(val: &'_enum SessionQueryMsg<M>) -> SessionQueryName
fn from(val: &'_enum SessionQueryMsg<M>) -> SessionQueryName
Converts to this type from the input type.
Source§impl<M> From<SessionQueryMsg<M>> for SessionQueryNamewhere
M: QueryUsesActions,
<M as QueryUsesActions>::ActionMsg: IntoDiscriminant,
<<M as QueryUsesActions>::ActionMsg as IntoDiscriminant>::Discriminant: VariantArray + 'static,
impl<M> From<SessionQueryMsg<M>> for SessionQueryNamewhere
M: QueryUsesActions,
<M as QueryUsesActions>::ActionMsg: IntoDiscriminant,
<<M as QueryUsesActions>::ActionMsg as IntoDiscriminant>::Discriminant: VariantArray + 'static,
Source§fn from(val: SessionQueryMsg<M>) -> SessionQueryName
fn from(val: SessionQueryMsg<M>) -> SessionQueryName
Converts to this type from the input type.
Source§impl FromStr for SessionQueryName
impl FromStr for SessionQueryName
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<SessionQueryName, <SessionQueryName as FromStr>::Err>
fn from_str( s: &str, ) -> Result<SessionQueryName, <SessionQueryName as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for SessionQueryName
impl PartialEq for SessionQueryName
Source§impl TryFrom<&str> for SessionQueryName
impl TryFrom<&str> for SessionQueryName
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<SessionQueryName, <SessionQueryName as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<SessionQueryName, <SessionQueryName as TryFrom<&str>>::Error>
Performs the conversion.
impl Copy for SessionQueryName
impl Eq for SessionQueryName
impl StructuralPartialEq for SessionQueryName
Auto Trait Implementations§
impl Freeze for SessionQueryName
impl RefUnwindSafe for SessionQueryName
impl Send for SessionQueryName
impl Sync for SessionQueryName
impl Unpin for SessionQueryName
impl UnwindSafe for SessionQueryName
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