pub struct PdfDocumentFindMatch {
pub text: Option<String>,
pub pages: Vec<PdfDocumentFindPageMatch>,
}Available on crate feature
async only.Expand description
Owned snapshot of one PDFDocument string match.
Fields§
§text: Option<String>Plain-text representation of the match, if PDFKit can provide one.
pages: Vec<PdfDocumentFindPageMatch>Per-page ranges that make up the match.
Trait Implementations§
Source§impl Clone for PdfDocumentFindMatch
impl Clone for PdfDocumentFindMatch
Source§fn clone(&self) -> PdfDocumentFindMatch
fn clone(&self) -> PdfDocumentFindMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PdfDocumentFindMatch
impl Debug for PdfDocumentFindMatch
Source§impl<'de> Deserialize<'de> for PdfDocumentFindMatch
impl<'de> Deserialize<'de> for PdfDocumentFindMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PdfDocumentFindMatch
impl PartialEq for PdfDocumentFindMatch
Source§fn eq(&self, other: &PdfDocumentFindMatch) -> bool
fn eq(&self, other: &PdfDocumentFindMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PdfDocumentFindMatch
impl StructuralPartialEq for PdfDocumentFindMatch
Auto Trait Implementations§
impl Freeze for PdfDocumentFindMatch
impl RefUnwindSafe for PdfDocumentFindMatch
impl Send for PdfDocumentFindMatch
impl Sync for PdfDocumentFindMatch
impl Unpin for PdfDocumentFindMatch
impl UnsafeUnpin for PdfDocumentFindMatch
impl UnwindSafe for PdfDocumentFindMatch
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