pub struct DeliveryFallback {
pub reason: String,
pub pages: Vec<u32>,
pub message: String,
}Expand description
Why a file asked for as text travelled as the document instead.
Fields§
§reason: StringWhy, as the platform names it: transcription_failed when pages with no
text of their own could not be read from their images. It is kept as
the platform’s word rather than narrowed to a list, so a reason added
later still reaches you instead of hiding that a fallback happened.
pages: Vec<u32>The pages that could not be read, numbered in the original document.
message: StringWhat went wrong, page by page, in the platform’s words.
Trait Implementations§
Source§impl Clone for DeliveryFallback
impl Clone for DeliveryFallback
Source§impl Debug for DeliveryFallback
impl Debug for DeliveryFallback
Source§impl Default for DeliveryFallback
impl Default for DeliveryFallback
impl Eq for DeliveryFallback
Source§impl PartialEq for DeliveryFallback
impl PartialEq for DeliveryFallback
impl StructuralPartialEq for DeliveryFallback
Auto Trait Implementations§
impl Freeze for DeliveryFallback
impl RefUnwindSafe for DeliveryFallback
impl Send for DeliveryFallback
impl Sync for DeliveryFallback
impl Unpin for DeliveryFallback
impl UnsafeUnpin for DeliveryFallback
impl UnwindSafe for DeliveryFallback
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