pub struct Text2Image<'a> { /* private fields */ }Implementations§
Source§impl<'a> Text2Image<'a>
impl<'a> Text2Image<'a>
pub fn new(client: &'a Client) -> Self
pub async fn call(&self, request: Text2imageParam) -> Result<Text2ImageOutput>
Auto Trait Implementations§
impl<'a> Freeze for Text2Image<'a>
impl<'a> !RefUnwindSafe for Text2Image<'a>
impl<'a> Send for Text2Image<'a>
impl<'a> Sync for Text2Image<'a>
impl<'a> Unpin for Text2Image<'a>
impl<'a> !UnwindSafe for Text2Image<'a>
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