pub struct ElementMappingConfig {
pub element_type: ElementType,
pub operation: OperationType,
pub template: ElementTemplate,
}Expand description
Mapping configuration from response items to Drasi graph elements.
Fields§
§element_type: ElementTypeType of element to create.
operation: OperationTypeOperation type for the source change (default: update for idempotent bootstrap).
template: ElementTemplateTemplate for element creation.
Trait Implementations§
Source§impl Clone for ElementMappingConfig
impl Clone for ElementMappingConfig
Source§fn clone(&self) -> ElementMappingConfig
fn clone(&self) -> ElementMappingConfig
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 ElementMappingConfig
impl Debug for ElementMappingConfig
Source§impl<'de> Deserialize<'de> for ElementMappingConfig
impl<'de> Deserialize<'de> for ElementMappingConfig
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 PartialEq for ElementMappingConfig
impl PartialEq for ElementMappingConfig
Source§fn eq(&self, other: &ElementMappingConfig) -> bool
fn eq(&self, other: &ElementMappingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ElementMappingConfig
impl Serialize for ElementMappingConfig
impl StructuralPartialEq for ElementMappingConfig
Auto Trait Implementations§
impl Freeze for ElementMappingConfig
impl RefUnwindSafe for ElementMappingConfig
impl Send for ElementMappingConfig
impl Sync for ElementMappingConfig
impl Unpin for ElementMappingConfig
impl UnsafeUnpin for ElementMappingConfig
impl UnwindSafe for ElementMappingConfig
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