pub struct RequestBuilder { /* private fields */ }Expand description
Builder for Request.
Implementations§
Source§impl RequestBuilder
impl RequestBuilder
Sourcepub fn lora_name<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn lora_name<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Optional LoRA adapter name.
Sourcepub fn salt<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn salt<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Optional free-form caller salt mixed into the per-request SaltHash.
Sourcepub fn mm_info(self, value: Vec<RequestMmObjectInfo>) -> Self
pub fn mm_info(self, value: Vec<RequestMmObjectInfo>) -> Self
Multimodal placeholder runs. Validated and sorted by build().
Trait Implementations§
Source§impl Debug for RequestBuilder
impl Debug for RequestBuilder
Auto Trait Implementations§
impl Freeze for RequestBuilder
impl RefUnwindSafe for RequestBuilder
impl Send for RequestBuilder
impl Sync for RequestBuilder
impl Unpin for RequestBuilder
impl UnsafeUnpin for RequestBuilder
impl UnwindSafe for RequestBuilder
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