pub struct ProblemDetailsConfig { /* private fields */ }Expand description
Configuration for ProblemDetailsPlugin.
Implementations§
Source§impl ProblemDetailsConfig
Fluent builders for ProblemDetailsConfig.
impl ProblemDetailsConfig
Fluent builders for ProblemDetailsConfig.
Sourcepub fn with_type_base_uri<S>(self, base_uri: S) -> Self
pub fn with_type_base_uri<S>(self, base_uri: S) -> Self
Sourcepub fn with_mask_server_error_details(self, mask: bool) -> Self
pub fn with_mask_server_error_details(self, mask: bool) -> Self
Source§impl ProblemDetailsConfig
impl ProblemDetailsConfig
pub fn get_auto_normalize(&self) -> bool
pub fn get_mut_auto_normalize(&mut self) -> &mut bool
pub fn set_auto_normalize(&mut self, val: bool) -> &mut Self
pub fn get_include_instance(&self) -> bool
pub fn get_mut_include_instance(&mut self) -> &mut bool
pub fn set_include_instance(&mut self, val: bool) -> &mut Self
pub fn get_type_base_uri(&self) -> String
pub fn try_get_type_base_uri(&self) -> &Option<String>
pub fn get_mut_type_base_uri(&mut self) -> &mut Option<String>
pub fn set_type_base_uri(&mut self, val: Option<String>) -> &mut Self
pub fn get_mask_server_error_details(&self) -> bool
pub fn get_mut_mask_server_error_details(&mut self) -> &mut bool
pub fn set_mask_server_error_details(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for ProblemDetailsConfig
impl Clone for ProblemDetailsConfig
Source§impl Debug for ProblemDetailsConfig
impl Debug for ProblemDetailsConfig
Source§impl Default for ProblemDetailsConfig
Default construction for ProblemDetailsConfig.
impl Default for ProblemDetailsConfig
Default construction for ProblemDetailsConfig.
impl Eq for ProblemDetailsConfig
Source§impl PartialEq for ProblemDetailsConfig
impl PartialEq for ProblemDetailsConfig
impl StructuralPartialEq for ProblemDetailsConfig
Auto Trait Implementations§
impl Forget for ProblemDetailsConfig
impl Freeze for ProblemDetailsConfig
impl Move for ProblemDetailsConfig
impl RefUnwindSafe for ProblemDetailsConfig
impl Send for ProblemDetailsConfigwhere
RawVecInner: Send,
impl Sync for ProblemDetailsConfigwhere
RawVecInner: Sync,
impl Unpin for ProblemDetailsConfig
impl UnsafeUnpin for ProblemDetailsConfig
impl UnwindSafe for ProblemDetailsConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.