pub struct ChainResponse {
pub video: VideoData,
pub stage_count: u32,
pub gpu: Option<usize>,
pub script: ChainScript,
pub vram_estimate: Option<VramEstimate>,
}Expand description
Response from a chained generation request. The video is the stitched
output; individual per-stage clips are not returned.
Fields§
§video: VideoData§stage_count: u32Number of stages that actually ran (matches request.stages.len()
after normalisation).
gpu: Option<usize>GPU ordinal that handled the chain (multi-GPU servers only).
script: ChainScriptCanonical TOML-shaped echo of the rendered script. Clients can save
this directly as a .toml file.
vram_estimate: Option<VramEstimate>Reserved for sub-project D; None in this release.
Trait Implementations§
Source§impl Clone for ChainResponse
impl Clone for ChainResponse
Source§fn clone(&self) -> ChainResponse
fn clone(&self) -> ChainResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for ChainResponse
impl ComposeSchema for ChainResponse
Source§impl Debug for ChainResponse
impl Debug for ChainResponse
Source§impl<'de> Deserialize<'de> for ChainResponse
impl<'de> Deserialize<'de> for ChainResponse
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 Serialize for ChainResponse
impl Serialize for ChainResponse
Auto Trait Implementations§
impl Freeze for ChainResponse
impl RefUnwindSafe for ChainResponse
impl Send for ChainResponse
impl Sync for ChainResponse
impl Unpin for ChainResponse
impl UnsafeUnpin for ChainResponse
impl UnwindSafe for ChainResponse
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