pub struct ToolExecutionCompleteContentResourceLink {
pub description: Option<String>,
pub icons: 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: 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 Clone for ToolExecutionCompleteContentResourceLink
impl Clone for ToolExecutionCompleteContentResourceLink
Source§fn clone(&self) -> ToolExecutionCompleteContentResourceLink
fn clone(&self) -> ToolExecutionCompleteContentResourceLink
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 Default for ToolExecutionCompleteContentResourceLink
impl Default for ToolExecutionCompleteContentResourceLink
Source§fn default() -> ToolExecutionCompleteContentResourceLink
fn default() -> ToolExecutionCompleteContentResourceLink
Returns the “default value” for a type. Read more
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