Struct comfyui_api::models::prompt::NodeConnection
source · pub struct NodeConnection {
pub node_id: String,
pub output_index: u32,
}
Expand description
Struct representing a node input connection.
Fields§
§node_id: String
The node id of the node providing the input.
output_index: u32
The index of the output from the node providing the input.
Trait Implementations§
source§impl Clone for NodeConnection
impl Clone for NodeConnection
source§fn clone(&self) -> NodeConnection
fn clone(&self) -> NodeConnection
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 NodeConnection
impl Debug for NodeConnection
source§impl<'de> Deserialize<'de> for NodeConnection
impl<'de> Deserialize<'de> for NodeConnection
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 From<NodeConnection> for (String, u32)
impl From<NodeConnection> for (String, u32)
source§fn from(_: NodeConnection) -> Self
fn from(_: NodeConnection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeConnection
impl RefUnwindSafe for NodeConnection
impl Send for NodeConnection
impl Sync for NodeConnection
impl Unpin for NodeConnection
impl UnwindSafe for NodeConnection
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