Struct comfyui_api::models::prompt::GenericNode
source · pub struct GenericNode {
pub class_type: String,
pub inputs: HashMap<String, GenericValue>,
pub meta: Option<Meta>,
}
Expand description
Struct representing a generic node.
Fields§
§class_type: String
The node class type.
inputs: HashMap<String, GenericValue>
The node inputs.
meta: Option<Meta>
Node metadata.
Trait Implementations§
source§impl Clone for GenericNode
impl Clone for GenericNode
source§fn clone(&self) -> GenericNode
fn clone(&self) -> GenericNode
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 GenericNode
impl Debug for GenericNode
source§impl<'de> Deserialize<'de> for GenericNode
impl<'de> Deserialize<'de> for GenericNode
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 Node for GenericNode
impl Node for GenericNode
Auto Trait Implementations§
impl Freeze for GenericNode
impl RefUnwindSafe for GenericNode
impl Send for GenericNode
impl Sync for GenericNode
impl Unpin for GenericNode
impl UnwindSafe for GenericNode
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