pub struct BuiltinProfileRepository;Expand description
Built-in profile repository.
Implementations§
Source§impl BuiltinProfileRepository
impl BuiltinProfileRepository
Sourcepub fn list_profiles(&self) -> Result<Vec<ProfileCatalogEntry>>
pub fn list_profiles(&self) -> Result<Vec<ProfileCatalogEntry>>
Lists built-in profile metadata.
§Errors
Returns crate::PdfvError when built-in generated profile data is invalid.
Trait Implementations§
Source§impl Clone for BuiltinProfileRepository
impl Clone for BuiltinProfileRepository
Source§fn clone(&self) -> BuiltinProfileRepository
fn clone(&self) -> BuiltinProfileRepository
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 BuiltinProfileRepository
impl Debug for BuiltinProfileRepository
Source§impl Default for BuiltinProfileRepository
impl Default for BuiltinProfileRepository
Source§fn default() -> BuiltinProfileRepository
fn default() -> BuiltinProfileRepository
Returns the “default value” for a type. Read more
Source§impl ProfileRepository for BuiltinProfileRepository
impl ProfileRepository for BuiltinProfileRepository
Source§fn profiles_for(
&self,
selection: &FlavourSelection,
) -> Result<Vec<ValidationProfile>>
fn profiles_for( &self, selection: &FlavourSelection, ) -> Result<Vec<ValidationProfile>>
Returns immutable profiles matching a selection. Read more
Auto Trait Implementations§
impl Freeze for BuiltinProfileRepository
impl RefUnwindSafe for BuiltinProfileRepository
impl Send for BuiltinProfileRepository
impl Sync for BuiltinProfileRepository
impl Unpin for BuiltinProfileRepository
impl UnsafeUnpin for BuiltinProfileRepository
impl UnwindSafe for BuiltinProfileRepository
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