pub struct CodeGenEdge {
pub source: String,
pub target: String,
pub target_parameter: Option<String>,
}
Expand description
Represents a directional edge in a directed acyclic graph (DAG).
Fields§
§source: String
The ID of the node at which the edge starts.
target: String
The ID of the node at which the edge ends.
target_parameter: Option<String>
The target of the edge.
Trait Implementations§
Source§impl Clone for CodeGenEdge
impl Clone for CodeGenEdge
Source§fn clone(&self) -> CodeGenEdge
fn clone(&self) -> CodeGenEdge
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 CodeGenEdge
impl Debug for CodeGenEdge
Source§impl Default for CodeGenEdge
impl Default for CodeGenEdge
Source§fn default() -> CodeGenEdge
fn default() -> CodeGenEdge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeGenEdge
impl<'de> Deserialize<'de> for CodeGenEdge
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 CodeGenEdge
impl PartialEq for CodeGenEdge
Source§impl Serialize for CodeGenEdge
impl Serialize for CodeGenEdge
impl StructuralPartialEq for CodeGenEdge
Auto Trait Implementations§
impl Freeze for CodeGenEdge
impl RefUnwindSafe for CodeGenEdge
impl Send for CodeGenEdge
impl Sync for CodeGenEdge
impl Unpin for CodeGenEdge
impl UnwindSafe for CodeGenEdge
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