pub struct MappingContract { /* private fields */ }Implementations§
Source§impl MappingContract
impl MappingContract
pub fn new( id: ConceptId, name: String, namespace: String, target_format: TargetFormat, rules: Vec<MappingRule>, ) -> Self
pub fn id(&self) -> &ConceptId
pub fn name(&self) -> &str
pub fn namespace(&self) -> &str
pub fn target_format(&self) -> &TargetFormat
pub fn rules(&self) -> &[MappingRule]
Trait Implementations§
Source§impl Clone for MappingContract
impl Clone for MappingContract
Source§fn clone(&self) -> MappingContract
fn clone(&self) -> MappingContract
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 MappingContract
impl Debug for MappingContract
Source§impl<'de> Deserialize<'de> for MappingContract
impl<'de> Deserialize<'de> for MappingContract
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 MappingContract
impl RefUnwindSafe for MappingContract
impl Send for MappingContract
impl Sync for MappingContract
impl Unpin for MappingContract
impl UnwindSafe for MappingContract
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