pub enum ToolExecutionLocation {
Backend,
Frontend,
}Expand description
Tool execution location.
Variants§
Backend
Tool executes on the backend (server-side).
Frontend
Tool executes on the frontend (client-side).
Trait Implementations§
Source§impl Clone for ToolExecutionLocation
impl Clone for ToolExecutionLocation
Source§fn clone(&self) -> ToolExecutionLocation
fn clone(&self) -> ToolExecutionLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolExecutionLocation
impl Debug for ToolExecutionLocation
Source§impl Default for ToolExecutionLocation
impl Default for ToolExecutionLocation
Source§fn default() -> ToolExecutionLocation
fn default() -> ToolExecutionLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolExecutionLocation
impl<'de> Deserialize<'de> for ToolExecutionLocation
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
Source§impl PartialEq for ToolExecutionLocation
impl PartialEq for ToolExecutionLocation
Source§impl Serialize for ToolExecutionLocation
impl Serialize for ToolExecutionLocation
impl Copy for ToolExecutionLocation
impl Eq for ToolExecutionLocation
impl StructuralPartialEq for ToolExecutionLocation
Auto Trait Implementations§
impl Freeze for ToolExecutionLocation
impl RefUnwindSafe for ToolExecutionLocation
impl Send for ToolExecutionLocation
impl Sync for ToolExecutionLocation
impl Unpin for ToolExecutionLocation
impl UnwindSafe for ToolExecutionLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.