pub struct PublicApiErrorsConfig {
pub level: Level,
pub allowed_error_types: Vec<String>,
}Fields§
§level: Level§allowed_error_types: Vec<String>Trait Implementations§
Source§impl Clone for PublicApiErrorsConfig
impl Clone for PublicApiErrorsConfig
Source§fn clone(&self) -> PublicApiErrorsConfig
fn clone(&self) -> PublicApiErrorsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PublicApiErrorsConfig
impl Debug for PublicApiErrorsConfig
Source§impl Default for PublicApiErrorsConfig
impl Default for PublicApiErrorsConfig
Source§impl<'de> Deserialize<'de> for PublicApiErrorsConfig
impl<'de> Deserialize<'de> for PublicApiErrorsConfig
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 RuleOptions for PublicApiErrorsConfig
impl RuleOptions for PublicApiErrorsConfig
fn default_level() -> Level
Auto Trait Implementations§
impl Freeze for PublicApiErrorsConfig
impl RefUnwindSafe for PublicApiErrorsConfig
impl Send for PublicApiErrorsConfig
impl Sync for PublicApiErrorsConfig
impl Unpin for PublicApiErrorsConfig
impl UnsafeUnpin for PublicApiErrorsConfig
impl UnwindSafe for PublicApiErrorsConfig
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