pub enum DelegateScenario {
Metadata(MetadataDelegateRole),
Token(TokenDelegateRole),
}
Variants§
Metadata(MetadataDelegateRole)
Token(TokenDelegateRole)
Trait Implementations§
source§impl Clone for DelegateScenario
impl Clone for DelegateScenario
source§fn clone(&self) -> DelegateScenario
fn clone(&self) -> DelegateScenario
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 DelegateScenario
impl Debug for DelegateScenario
source§impl Display for DelegateScenario
impl Display for DelegateScenario
source§impl PartialEq<DelegateScenario> for DelegateScenario
impl PartialEq<DelegateScenario> for DelegateScenario
source§fn eq(&self, other: &DelegateScenario) -> bool
fn eq(&self, other: &DelegateScenario) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DelegateScenario
impl StructuralEq for DelegateScenario
impl StructuralPartialEq for DelegateScenario
Auto Trait Implementations§
impl RefUnwindSafe for DelegateScenario
impl Send for DelegateScenario
impl Sync for DelegateScenario
impl Unpin for DelegateScenario
impl UnwindSafe for DelegateScenario
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more