pub struct ToolExecutionCompleteContentResourceLink {
pub description: Option<String>,
pub icons: Option<Vec<ToolExecutionCompleteContentResourceLinkIcon>>,
pub mime_type: Option<String>,
pub name: String,
pub size: Option<i64>,
pub title: Option<String>,
pub type: ToolExecutionCompleteContentResourceLinkType,
pub uri: String,
}Expand description
Resource link content block referencing an external resource
Fields§
§description: Option<String>Human-readable description of the resource
icons: Option<Vec<ToolExecutionCompleteContentResourceLinkIcon>>Icons associated with this resource
mime_type: Option<String>MIME type of the resource content
name: StringResource name identifier
size: Option<i64>Size of the resource in bytes
title: Option<String>Human-readable display title for the resource
type: ToolExecutionCompleteContentResourceLinkTypeContent block type discriminator
uri: StringURI identifying the resource
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolExecutionCompleteContentResourceLink
impl<'de> Deserialize<'de> for ToolExecutionCompleteContentResourceLink
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
Auto Trait Implementations§
impl Freeze for ToolExecutionCompleteContentResourceLink
impl RefUnwindSafe for ToolExecutionCompleteContentResourceLink
impl Send for ToolExecutionCompleteContentResourceLink
impl Sync for ToolExecutionCompleteContentResourceLink
impl Unpin for ToolExecutionCompleteContentResourceLink
impl UnsafeUnpin for ToolExecutionCompleteContentResourceLink
impl UnwindSafe for ToolExecutionCompleteContentResourceLink
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