pub struct MandatoryFieldsConfig {
pub message_types: HashMap<String, Vec<String>>,
}
Expand description
Configuration for mandatory fields per message type
Fields§
§message_types: HashMap<String, Vec<String>>
Map of message type -> list of mandatory field tags
Trait Implementations§
Source§impl Clone for MandatoryFieldsConfig
impl Clone for MandatoryFieldsConfig
Source§fn clone(&self) -> MandatoryFieldsConfig
fn clone(&self) -> MandatoryFieldsConfig
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 MandatoryFieldsConfig
impl Debug for MandatoryFieldsConfig
Source§impl<'de> Deserialize<'de> for MandatoryFieldsConfig
impl<'de> Deserialize<'de> for MandatoryFieldsConfig
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
Auto Trait Implementations§
impl Freeze for MandatoryFieldsConfig
impl RefUnwindSafe for MandatoryFieldsConfig
impl Send for MandatoryFieldsConfig
impl Sync for MandatoryFieldsConfig
impl Unpin for MandatoryFieldsConfig
impl UnwindSafe for MandatoryFieldsConfig
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