pub enum ToolArgumentProjectionPolicy {
MaterializeProjectedValues,
PreserveProjectedRefsInField {
field: String,
},
}Variants§
Implementations§
Source§impl ToolArgumentProjectionPolicy
impl ToolArgumentProjectionPolicy
pub fn preserve_projected_refs_in_field( field: impl Into<String>, ) -> ToolArgumentProjectionPolicy
pub fn is_materialize_projected_values(&self) -> bool
Trait Implementations§
Source§impl Clone for ToolArgumentProjectionPolicy
impl Clone for ToolArgumentProjectionPolicy
Source§fn clone(&self) -> ToolArgumentProjectionPolicy
fn clone(&self) -> ToolArgumentProjectionPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolArgumentProjectionPolicy
impl Debug for ToolArgumentProjectionPolicy
Source§impl Default for ToolArgumentProjectionPolicy
impl Default for ToolArgumentProjectionPolicy
Source§fn default() -> ToolArgumentProjectionPolicy
fn default() -> ToolArgumentProjectionPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolArgumentProjectionPolicy
impl<'de> Deserialize<'de> for ToolArgumentProjectionPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolArgumentProjectionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolArgumentProjectionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolArgumentProjectionPolicy
Source§impl PartialEq for ToolArgumentProjectionPolicy
impl PartialEq for ToolArgumentProjectionPolicy
Source§fn eq(&self, other: &ToolArgumentProjectionPolicy) -> bool
fn eq(&self, other: &ToolArgumentProjectionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolArgumentProjectionPolicy
impl Serialize for ToolArgumentProjectionPolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ToolArgumentProjectionPolicy
Auto Trait Implementations§
impl Freeze for ToolArgumentProjectionPolicy
impl RefUnwindSafe for ToolArgumentProjectionPolicy
impl Send for ToolArgumentProjectionPolicy
impl Sync for ToolArgumentProjectionPolicy
impl Unpin for ToolArgumentProjectionPolicy
impl UnsafeUnpin for ToolArgumentProjectionPolicy
impl UnwindSafe for ToolArgumentProjectionPolicy
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