pub struct PlanInput {
pub source: PlanNodeId,
pub label: Option<String>,
pub metadata: PlanEdgeMetadata,
}Expand description
Incoming connection for a node.
Fields§
§source: PlanNodeId§label: Option<String>§metadata: PlanEdgeMetadataImplementations§
Source§impl PlanInput
impl PlanInput
pub fn new(source: PlanNodeId) -> Self
pub fn with_label<S: Into<String>>(self, label: S) -> Self
pub fn with_metadata(self, metadata: PlanEdgeMetadata) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanInput
impl<'de> Deserialize<'de> for PlanInput
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 PlanInput
impl StructuralPartialEq for PlanInput
Auto Trait Implementations§
impl Freeze for PlanInput
impl RefUnwindSafe for PlanInput
impl Send for PlanInput
impl Sync for PlanInput
impl Unpin for PlanInput
impl UnsafeUnpin for PlanInput
impl UnwindSafe for PlanInput
Blanket Implementations§
impl<T> Allocation for T
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