pub struct ProposalMapping {
pub source: MappingSource,
pub source_path: String,
pub target_node_id: String,
pub target_path: String,
}Expand description
An explicit source-path to target-path data mapping (spec 109 FR-002, FR-011). Every field a node’s input receives must arrive through one of these — a node never sees another node’s full output implicitly.
Fields§
§source: MappingSource§source_path: StringJSON Pointer (RFC 6901) into the source’s output (or initial_input).
target_node_id: String§target_path: StringJSON Pointer (RFC 6901) into the target node’s input.
Trait Implementations§
Source§impl Clone for ProposalMapping
impl Clone for ProposalMapping
Source§fn clone(&self) -> ProposalMapping
fn clone(&self) -> ProposalMapping
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 ProposalMapping
impl Debug for ProposalMapping
Source§impl<'de> Deserialize<'de> for ProposalMapping
impl<'de> Deserialize<'de> for ProposalMapping
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 ProposalMapping
Source§impl PartialEq for ProposalMapping
impl PartialEq for ProposalMapping
Source§impl Serialize for ProposalMapping
impl Serialize for ProposalMapping
impl StructuralPartialEq for ProposalMapping
Auto Trait Implementations§
impl Freeze for ProposalMapping
impl RefUnwindSafe for ProposalMapping
impl Send for ProposalMapping
impl Sync for ProposalMapping
impl Unpin for ProposalMapping
impl UnsafeUnpin for ProposalMapping
impl UnwindSafe for ProposalMapping
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