pub struct NamespaceCustomToolBuilder(/* private fields */);Expand description
Builder for NamespaceCustomTool.
Implementations§
Source§impl NamespaceCustomToolBuilder
impl NamespaceCustomToolBuilder
pub fn async_(self, value: impl Into<bool>) -> Self
pub fn allowed_callers( self, value: impl Into<Option<Vec<AllowedCaller>>>, ) -> Self
pub fn defer_loading(self, value: impl Into<bool>) -> Self
pub fn description(self, value: impl Into<String>) -> Self
pub fn format(self, value: impl Into<CustomToolFormat>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> NamespaceCustomTool
pub fn build(self) -> NamespaceCustomTool
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for NamespaceCustomToolBuilder
impl RefUnwindSafe for NamespaceCustomToolBuilder
impl Send for NamespaceCustomToolBuilder
impl Sync for NamespaceCustomToolBuilder
impl Unpin for NamespaceCustomToolBuilder
impl UnsafeUnpin for NamespaceCustomToolBuilder
impl UnwindSafe for NamespaceCustomToolBuilder
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