pub struct FunctionCallingConfigBuilder(/* private fields */);Expand description
Builder for FunctionCallingConfig.
Implementations§
Source§impl FunctionCallingConfigBuilder
impl FunctionCallingConfigBuilder
pub fn mode(self, value: impl Into<FunctionCallingMode>) -> Self
pub fn allowed_function_names(self, value: impl Into<Vec<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> FunctionCallingConfig
pub fn build(self) -> FunctionCallingConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for FunctionCallingConfigBuilder
impl RefUnwindSafe for FunctionCallingConfigBuilder
impl Send for FunctionCallingConfigBuilder
impl Sync for FunctionCallingConfigBuilder
impl Unpin for FunctionCallingConfigBuilder
impl UnsafeUnpin for FunctionCallingConfigBuilder
impl UnwindSafe for FunctionCallingConfigBuilder
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