pub struct PdfASchema { /* private fields */ }Expand description
PDF/A schema implementation
Implementations§
Trait Implementations§
Source§impl PdfSchema for PdfASchema
impl PdfSchema for PdfASchema
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get schema description
Source§fn reference_url(&self) -> Option<&str>
fn reference_url(&self) -> Option<&str>
Get schema URL/reference
Source§fn supports_pdf_version(&self, version: &PdfVersion) -> bool
fn supports_pdf_version(&self, version: &PdfVersion) -> bool
Check if schema supports specific PDF version
Source§fn validate(&self, document: &PdfDocument) -> ValidationReport
fn validate(&self, document: &PdfDocument) -> ValidationReport
Validate a complete document
Source§fn get_constraints(&self) -> Vec<Box<dyn SchemaConstraint>>
fn get_constraints(&self) -> Vec<Box<dyn SchemaConstraint>>
Get all constraints for this schema
Auto Trait Implementations§
impl Freeze for PdfASchema
impl RefUnwindSafe for PdfASchema
impl Send for PdfASchema
impl Sync for PdfASchema
impl Unpin for PdfASchema
impl UnwindSafe for PdfASchema
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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