pub struct MappingRule {
pub primitive_type: String,
pub primitive_name: String,
pub target_type: String,
pub fields: HashMap<String, Value>,
}Fields§
§primitive_type: String§primitive_name: String§target_type: String§fields: HashMap<String, Value>Trait Implementations§
Source§impl Clone for MappingRule
impl Clone for MappingRule
Source§fn clone(&self) -> MappingRule
fn clone(&self) -> MappingRule
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 MappingRule
impl Debug for MappingRule
Source§impl<'de> Deserialize<'de> for MappingRule
impl<'de> Deserialize<'de> for MappingRule
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 From<&MappingRule> for MappingRule
impl From<&MappingRule> for MappingRule
Source§fn from(r: &MappingRule) -> Self
fn from(r: &MappingRule) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MappingRule
impl PartialEq for MappingRule
Source§impl Serialize for MappingRule
impl Serialize for MappingRule
impl StructuralPartialEq for MappingRule
Auto Trait Implementations§
impl Freeze for MappingRule
impl RefUnwindSafe for MappingRule
impl Send for MappingRule
impl Sync for MappingRule
impl Unpin for MappingRule
impl UnwindSafe for MappingRule
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