pub struct ExternalToolTextResultForLlmContentResourceLink {
pub description: Option<String>,
pub icons: Option<Vec<ExternalToolTextResultForLlmContentResourceLinkIcon>>,
pub mime_type: Option<String>,
pub name: String,
pub size: Option<i64>,
pub title: Option<String>,
pub type: ExternalToolTextResultForLlmContentResourceLinkType,
pub uri: String,
}Expand description
Resource link content block referencing an external resource
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§description: Option<String>Human-readable description of the resource
icons: Option<Vec<ExternalToolTextResultForLlmContentResourceLinkIcon>>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: ExternalToolTextResultForLlmContentResourceLinkTypeContent block type discriminator
uri: StringURI identifying the resource
Trait Implementations§
Source§impl Clone for ExternalToolTextResultForLlmContentResourceLink
impl Clone for ExternalToolTextResultForLlmContentResourceLink
Source§fn clone(&self) -> ExternalToolTextResultForLlmContentResourceLink
fn clone(&self) -> ExternalToolTextResultForLlmContentResourceLink
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 ExternalToolTextResultForLlmContentResourceLink
impl Default for ExternalToolTextResultForLlmContentResourceLink
Source§fn default() -> ExternalToolTextResultForLlmContentResourceLink
fn default() -> ExternalToolTextResultForLlmContentResourceLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentResourceLink
impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentResourceLink
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 ExternalToolTextResultForLlmContentResourceLink
impl RefUnwindSafe for ExternalToolTextResultForLlmContentResourceLink
impl Send for ExternalToolTextResultForLlmContentResourceLink
impl Sync for ExternalToolTextResultForLlmContentResourceLink
impl Unpin for ExternalToolTextResultForLlmContentResourceLink
impl UnsafeUnpin for ExternalToolTextResultForLlmContentResourceLink
impl UnwindSafe for ExternalToolTextResultForLlmContentResourceLink
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