pub struct EventSchemaConfig {
pub strict_event_name: bool,
pub required_keys: Vec<String>,
}Fields§
§strict_event_name: bool§required_keys: Vec<String>Trait Implementations§
Source§impl Clone for EventSchemaConfig
impl Clone for EventSchemaConfig
Source§fn clone(&self) -> EventSchemaConfig
fn clone(&self) -> EventSchemaConfig
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 EventSchemaConfig
impl Debug for EventSchemaConfig
Source§impl Default for EventSchemaConfig
impl Default for EventSchemaConfig
Source§fn default() -> EventSchemaConfig
fn default() -> EventSchemaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventSchemaConfigwhere
EventSchemaConfig: Default,
impl<'de> Deserialize<'de> for EventSchemaConfigwhere
EventSchemaConfig: Default,
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 EventSchemaConfig
Source§impl PartialEq for EventSchemaConfig
impl PartialEq for EventSchemaConfig
Source§impl Serialize for EventSchemaConfig
impl Serialize for EventSchemaConfig
impl StructuralPartialEq for EventSchemaConfig
Auto Trait Implementations§
impl Freeze for EventSchemaConfig
impl RefUnwindSafe for EventSchemaConfig
impl Send for EventSchemaConfig
impl Sync for EventSchemaConfig
impl Unpin for EventSchemaConfig
impl UnsafeUnpin for EventSchemaConfig
impl UnwindSafe for EventSchemaConfig
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