pub struct ToolTextContent {
pub text: String,
pub type_: String,
}Fields§
§text: String§type_: StringTrait Implementations§
Source§impl Clone for ToolTextContent
impl Clone for ToolTextContent
Source§fn clone(&self) -> ToolTextContent
fn clone(&self) -> ToolTextContent
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 ToolTextContent
impl Debug for ToolTextContent
Source§impl<'de> Deserialize<'de> for ToolTextContent
impl<'de> Deserialize<'de> for ToolTextContent
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 ToolTextContent
impl PartialEq for ToolTextContent
Source§impl Serialize for ToolTextContent
impl Serialize for ToolTextContent
impl StructuralPartialEq for ToolTextContent
Auto Trait Implementations§
impl Freeze for ToolTextContent
impl RefUnwindSafe for ToolTextContent
impl Send for ToolTextContent
impl Sync for ToolTextContent
impl Unpin for ToolTextContent
impl UnsafeUnpin for ToolTextContent
impl UnwindSafe for ToolTextContent
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