Struct aws_sdk_glue::types::CodeGenNode
source · #[non_exhaustive]pub struct CodeGenNode {
pub id: String,
pub node_type: String,
pub args: Vec<CodeGenNodeArg>,
pub line_number: i32,
}
Expand description
Represents a node in a directed acyclic graph (DAG)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
A node identifier that is unique within the node's graph.
node_type: String
The type of node that this is.
args: Vec<CodeGenNodeArg>
Properties of the node, in the form of name-value pairs.
line_number: i32
The line number of the node.
Implementations§
source§impl CodeGenNode
impl CodeGenNode
sourcepub fn args(&self) -> &[CodeGenNodeArg]
pub fn args(&self) -> &[CodeGenNodeArg]
Properties of the node, in the form of name-value pairs.
sourcepub fn line_number(&self) -> i32
pub fn line_number(&self) -> i32
The line number of the node.
source§impl CodeGenNode
impl CodeGenNode
sourcepub fn builder() -> CodeGenNodeBuilder
pub fn builder() -> CodeGenNodeBuilder
Creates a new builder-style object to manufacture CodeGenNode
.
Trait Implementations§
source§impl Clone for CodeGenNode
impl Clone for CodeGenNode
source§fn clone(&self) -> CodeGenNode
fn clone(&self) -> CodeGenNode
Returns a copy 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 CodeGenNode
impl Debug for CodeGenNode
source§impl PartialEq for CodeGenNode
impl PartialEq for CodeGenNode
source§fn eq(&self, other: &CodeGenNode) -> bool
fn eq(&self, other: &CodeGenNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeGenNode
Auto Trait Implementations§
impl RefUnwindSafe for CodeGenNode
impl Send for CodeGenNode
impl Sync for CodeGenNode
impl Unpin for CodeGenNode
impl UnwindSafe for CodeGenNode
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.