pub struct WebFetchToolResultBlockBuilder(/* private fields */);Expand description
Builder for WebFetchToolResultBlock.
Implementations§
Source§impl WebFetchToolResultBlockBuilder
impl WebFetchToolResultBlockBuilder
pub fn cache_control(self, value: impl Into<CacheControl>) -> Self
pub fn caller(self, value: impl Into<ToolCaller>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> WebFetchToolResultBlock
pub fn build(self) -> WebFetchToolResultBlock
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for WebFetchToolResultBlockBuilder
impl RefUnwindSafe for WebFetchToolResultBlockBuilder
impl Send for WebFetchToolResultBlockBuilder
impl Sync for WebFetchToolResultBlockBuilder
impl Unpin for WebFetchToolResultBlockBuilder
impl UnsafeUnpin for WebFetchToolResultBlockBuilder
impl UnwindSafe for WebFetchToolResultBlockBuilder
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