#[non_exhaustive]pub struct NodeOutput {
pub text: String,
pub usage: Usage,
}Expand description
What a node produced.
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.text: StringThe text handed to the nodes that follow.
usage: UsageThe model tokens the node spent.
Implementations§
Source§impl NodeOutput
impl NodeOutput
Trait Implementations§
Source§impl Clone for NodeOutput
impl Clone for NodeOutput
Source§impl Debug for NodeOutput
impl Debug for NodeOutput
Auto Trait Implementations§
impl Forget for NodeOutput
impl Freeze for NodeOutput
impl Move for NodeOutput
impl RefUnwindSafe for NodeOutput
impl Send for NodeOutputwhere
RawVecInner: Send,
impl Sync for NodeOutputwhere
RawVecInner: Sync,
impl Unpin for NodeOutput
impl UnsafeUnpin for NodeOutput
impl UnwindSafe for NodeOutputwhere
RawVecInner: UnwindSafe,
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