pub struct ChainScriptChain {
pub model: String,
pub width: u32,
pub height: u32,
pub fps: u32,
pub seed: Option<u64>,
pub steps: u32,
pub guidance: f64,
pub strength: f64,
pub motion_tail_frames: u32,
pub output_format: OutputFormat,
pub enable_audio: Option<bool>,
}Fields§
§model: String§width: u32§height: u32§fps: u32§seed: Option<u64>§steps: u32§guidance: f64§strength: f64§motion_tail_frames: u32§output_format: OutputFormat§enable_audio: Option<bool>Echo of ChainRequest::enable_audio. Omitted from TOML when unset
so v1 scripts (no audio) deserialise unchanged.
Trait Implementations§
Source§impl Clone for ChainScriptChain
impl Clone for ChainScriptChain
Source§fn clone(&self) -> ChainScriptChain
fn clone(&self) -> ChainScriptChain
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 ChainScriptChain
impl ComposeSchema for ChainScriptChain
Source§impl Debug for ChainScriptChain
impl Debug for ChainScriptChain
Source§impl Default for ChainScriptChain
impl Default for ChainScriptChain
Source§fn default() -> ChainScriptChain
fn default() -> ChainScriptChain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChainScriptChain
impl<'de> Deserialize<'de> for ChainScriptChain
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 ChainScriptChain
impl Serialize for ChainScriptChain
Auto Trait Implementations§
impl Freeze for ChainScriptChain
impl RefUnwindSafe for ChainScriptChain
impl Send for ChainScriptChain
impl Sync for ChainScriptChain
impl Unpin for ChainScriptChain
impl UnsafeUnpin for ChainScriptChain
impl UnwindSafe for ChainScriptChain
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