pub struct GuardianRequestBodyBuilder(/* private fields */);Expand description
Builder for GuardianRequestBody.
Implementations§
Source§impl GuardianRequestBodyBuilder
impl GuardianRequestBodyBuilder
pub fn tools(self, value: impl Into<Option<Value>>) -> Self
pub fn stream_options(self, value: impl Into<ClientStreamOptions>) -> Self
pub fn service_tier(self, value: impl Into<String>) -> Self
pub fn prompt_cache_key(self, value: impl Into<String>) -> Self
pub fn text(self, value: impl Into<ClientTextControls>) -> Self
pub fn client_metadata(self, value: impl Into<BTreeMap<String, String>>) -> Self
pub fn access_programs(self, value: impl Into<AccessPrograms>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> GuardianRequestBody
pub fn build(self) -> GuardianRequestBody
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for GuardianRequestBodyBuilder
impl RefUnwindSafe for GuardianRequestBodyBuilder
impl Send for GuardianRequestBodyBuilder
impl Sync for GuardianRequestBodyBuilder
impl Unpin for GuardianRequestBodyBuilder
impl UnsafeUnpin for GuardianRequestBodyBuilder
impl UnwindSafe for GuardianRequestBodyBuilder
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