pub enum Merged<A> {
Yes,
No(A),
Annul,
}
Expand description
Says if the action have been merged with another action.
Variants§
Yes
The actions have been merged.
This means that the other
action will not be added to the stack.
No(A)
The actions have not been merged.
We need to return the other
action so it can be added to the stack.
Annul
The two actions cancels each other out.
This means that both action will be removed from the stack.
Trait Implementations§
source§impl<'de, A> Deserialize<'de> for Merged<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for Merged<A>where A: Deserialize<'de>,
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