pub struct ValidationConfigProvider { /* private fields */ }Implementations§
Source§impl ValidationConfigProvider
impl ValidationConfigProvider
pub const fn new(config: Config, services_config: ServicesConfig) -> Self
pub fn with_content_config(self, config: ContentConfigRaw) -> Self
pub fn with_web_config(self, config: WebConfigRaw) -> Self
pub fn with_web_metadata(self, metadata: WebMetadataRaw) -> Self
pub const fn services_config(&self) -> &ServicesConfig
pub const fn config(&self) -> &Config
pub const fn content_config(&self) -> Option<&ContentConfigRaw>
pub const fn web_config(&self) -> Option<&WebConfigRaw>
pub const fn web_metadata(&self) -> Option<&WebMetadataRaw>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationConfigProvider
impl RefUnwindSafe for ValidationConfigProvider
impl Send for ValidationConfigProvider
impl Sync for ValidationConfigProvider
impl Unpin for ValidationConfigProvider
impl UnwindSafe for ValidationConfigProvider
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