pub struct Text2imageParamBuilder { /* private fields */ }Expand description
Builder for Text2imageParam.
Implementations§
Source§impl Text2imageParamBuilder
impl Text2imageParamBuilder
pub fn model<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn input(&mut self, value: Input) -> &mut Self
pub fn parameters<VALUE: Into<Parameters>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<Text2imageParam, Text2imageParamBuilderError>
pub fn build(&self) -> Result<Text2imageParam, Text2imageParamBuilderError>
Trait Implementations§
Source§impl Clone for Text2imageParamBuilder
impl Clone for Text2imageParamBuilder
Source§fn clone(&self) -> Text2imageParamBuilder
fn clone(&self) -> Text2imageParamBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Text2imageParamBuilder
impl RefUnwindSafe for Text2imageParamBuilder
impl Send for Text2imageParamBuilder
impl Sync for Text2imageParamBuilder
impl Unpin for Text2imageParamBuilder
impl UnwindSafe for Text2imageParamBuilder
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