Enum driftdb::PushInstruction
source · pub enum PushInstruction {
Push(SequenceValue),
PushStart(SequenceValue),
}
Variants§
Push(SequenceValue)
Push the given value to the end of the subject.
PushStart(SequenceValue)
Push the given value to the start of the subject.
Trait Implementations§
source§impl Clone for PushInstruction
impl Clone for PushInstruction
source§fn clone(&self) -> PushInstruction
fn clone(&self) -> PushInstruction
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 PushInstruction
impl Debug for PushInstruction
source§impl PartialEq<PushInstruction> for PushInstruction
impl PartialEq<PushInstruction> for PushInstruction
source§fn eq(&self, other: &PushInstruction) -> bool
fn eq(&self, other: &PushInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.