pub struct ErrorProfile {
pub key: String,
}Fields§
§key: StringImplementations§
Source§impl ErrorProfile
impl ErrorProfile
Sourcepub fn is_valid_key(key: &str) -> bool
pub fn is_valid_key(key: &str) -> bool
Whether key is a valid error key: [a-z_][a-z0-9_]{0,63}.
Trait Implementations§
Source§impl Clone for ErrorProfile
impl Clone for ErrorProfile
Source§impl Debug for ErrorProfile
impl Debug for ErrorProfile
Source§impl<'de> Deserialize<'de> for ErrorProfile
impl<'de> Deserialize<'de> for ErrorProfile
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
impl Eq for ErrorProfile
Source§impl PartialEq for ErrorProfile
impl PartialEq for ErrorProfile
Source§impl Serialize for ErrorProfile
impl Serialize for ErrorProfile
impl StructuralPartialEq for ErrorProfile
Auto Trait Implementations§
impl Freeze for ErrorProfile
impl RefUnwindSafe for ErrorProfile
impl Send for ErrorProfile
impl Sync for ErrorProfile
impl Unpin for ErrorProfile
impl UnsafeUnpin for ErrorProfile
impl UnwindSafe for ErrorProfile
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