pub enum CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT> {
Commitment(COMMITMENT),
EconomicEvent(ECONOMICEVENT),
Intent(INTENT),
}
Expand description
An enum that allows a type union for (Commitment, EconomicEvent, Intent)
Variants§
Trait Implementations§
source§impl<COMMITMENT: Clone, ECONOMICEVENT: Clone, INTENT: Clone> Clone for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT: Clone, ECONOMICEVENT: Clone, INTENT: Clone> Clone for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
source§fn clone(
&self
) -> CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
fn clone( &self ) -> CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
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<COMMITMENT: Debug, ECONOMICEVENT: Debug, INTENT: Debug> Debug for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT: Debug, ECONOMICEVENT: Debug, INTENT: Debug> Debug for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
source§impl<'de, COMMITMENT, ECONOMICEVENT, INTENT> Deserialize<'de> for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<'de, COMMITMENT, ECONOMICEVENT, INTENT> Deserialize<'de> for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<COMMITMENT: PartialEq, ECONOMICEVENT: PartialEq, INTENT: PartialEq> PartialEq for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT: PartialEq, ECONOMICEVENT: PartialEq, INTENT: PartialEq> PartialEq for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
source§fn eq(
&self,
other: &CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
) -> bool
fn eq( &self, other: &CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT> ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<COMMITMENT, ECONOMICEVENT, INTENT> Serialize for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> Serialize for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> StructuralPartialEq for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
Auto Trait Implementations§
impl<COMMITMENT, ECONOMICEVENT, INTENT> Freeze for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> RefUnwindSafe for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> Send for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> Sync for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> Unpin for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
impl<COMMITMENT, ECONOMICEVENT, INTENT> UnwindSafe for CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>
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