pub struct StructuralDuplicate {
pub index: usize,
pub date: String,
pub narration: String,
}Expand description
Result of finding a structural duplicate.
Fields§
§index: usizeIndex of the duplicate directive in the input slice.
date: StringDate of the duplicate transaction.
narration: StringNarration of the duplicate transaction.
Implementations§
Source§impl StructuralDuplicate
impl StructuralDuplicate
Sourcepub fn to_plugin_error(&self) -> PluginError
pub fn to_plugin_error(&self) -> PluginError
Convert to a PluginError for use in plugin wrappers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructuralDuplicate
impl RefUnwindSafe for StructuralDuplicate
impl Send for StructuralDuplicate
impl Sync for StructuralDuplicate
impl Unpin for StructuralDuplicate
impl UnsafeUnpin for StructuralDuplicate
impl UnwindSafe for StructuralDuplicate
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more