pub struct NamespaceCustomTool {
pub async_: Option<bool>,
pub name: String,
pub allowed_callers: Option<Option<Vec<AllowedCaller>>>,
pub defer_loading: Option<bool>,
pub description: Option<String>,
pub format: Option<CustomToolFormat>,
pub rest: Rest,
}Fields§
§async_: Option<bool>§name: String§allowed_callers: Option<Option<Vec<AllowedCaller>>>§defer_loading: Option<bool>§description: Option<String>§format: Option<CustomToolFormat>§rest: RestImplementations§
Source§impl NamespaceCustomTool
impl NamespaceCustomTool
Sourcepub fn builder(name: String) -> NamespaceCustomToolBuilder
pub fn builder(name: String) -> NamespaceCustomToolBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for NamespaceCustomTool
impl Clone for NamespaceCustomTool
Source§impl Debug for NamespaceCustomTool
impl Debug for NamespaceCustomTool
Source§impl DeclaredFields for NamespaceCustomTool
impl DeclaredFields for NamespaceCustomTool
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for NamespaceCustomTool
impl<'de> Deserialize<'de> for NamespaceCustomTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NamespaceCustomTool
Source§impl PartialEq for NamespaceCustomTool
impl PartialEq for NamespaceCustomTool
Source§impl Serialize for NamespaceCustomTool
impl Serialize for NamespaceCustomTool
impl StructuralPartialEq for NamespaceCustomTool
Auto Trait Implementations§
impl Freeze for NamespaceCustomTool
impl RefUnwindSafe for NamespaceCustomTool
impl Send for NamespaceCustomTool
impl Sync for NamespaceCustomTool
impl Unpin for NamespaceCustomTool
impl UnsafeUnpin for NamespaceCustomTool
impl UnwindSafe for NamespaceCustomTool
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