pub struct ExtractionAttempt {
pub method: &'static str,
pub success: bool,
pub detail: String,
}Expand description
Represents an extraction attempt with its method and outcome.
Fields§
§method: &'static strName of the extraction method (e.g., “XML”, “JSON”, “Salvage”)
success: boolWhether this method succeeded
detail: StringDetailed reason/description of what happened
Implementations§
Trait Implementations§
Source§impl Clone for ExtractionAttempt
impl Clone for ExtractionAttempt
Source§fn clone(&self) -> ExtractionAttempt
fn clone(&self) -> ExtractionAttempt
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ExtractionAttempt
impl RefUnwindSafe for ExtractionAttempt
impl Send for ExtractionAttempt
impl Sync for ExtractionAttempt
impl Unpin for ExtractionAttempt
impl UnwindSafe for ExtractionAttempt
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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