pub enum SequenceDiffOutput {
NoDiff(String),
NotExists(String, SequenceSource),
Diff(String, SequenceCountDiff),
}
Expand description
Represents the output of a sequence difference.
Variants§
NoDiff(String)
Indicates that there is no difference between the sequences.
NotExists(String, SequenceSource)
Indicates that a sequence does not exist in a specific source.
Diff(String, SequenceCountDiff)
Indicates a difference in count between the sequences.
Implementations§
Source§impl SequenceDiffOutput
impl SequenceDiffOutput
Sourcepub fn to_string(&self) -> ColoredString
pub fn to_string(&self) -> ColoredString
Converts the SequenceDiffOutput
to a colored string representation.
Trait Implementations§
Source§impl Clone for SequenceDiffOutput
impl Clone for SequenceDiffOutput
Source§fn clone(&self) -> SequenceDiffOutput
fn clone(&self) -> SequenceDiffOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DiffOutputMarker for SequenceDiffOutput
impl DiffOutputMarker for SequenceDiffOutput
fn convert(self) -> DiffOutput
Source§impl From<SequenceDiffOutput> for DiffOutput
impl From<SequenceDiffOutput> for DiffOutput
Source§fn from(val: SequenceDiffOutput) -> Self
fn from(val: SequenceDiffOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SequenceDiffOutput
impl RefUnwindSafe for SequenceDiffOutput
impl Send for SequenceDiffOutput
impl Sync for SequenceDiffOutput
impl Unpin for SequenceDiffOutput
impl UnwindSafe for SequenceDiffOutput
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