pub struct ExternalToolTextResultForLlmContentResourceLinkIcon {
pub mime_type: Option<String>,
pub sizes: Option<Vec<String>>,
pub src: String,
pub theme: Option<ExternalToolTextResultForLlmContentResourceLinkIconTheme>,
}Expand description
Icon image for a 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§
§mime_type: Option<String>MIME type of the icon image
sizes: Option<Vec<String>>Available icon sizes (e.g., [‘16x16’, ‘32x32’])
src: StringURL or path to the icon image
theme: Option<ExternalToolTextResultForLlmContentResourceLinkIconTheme>Theme variant this icon is intended for
Trait Implementations§
Source§impl Clone for ExternalToolTextResultForLlmContentResourceLinkIcon
impl Clone for ExternalToolTextResultForLlmContentResourceLinkIcon
Source§fn clone(&self) -> ExternalToolTextResultForLlmContentResourceLinkIcon
fn clone(&self) -> ExternalToolTextResultForLlmContentResourceLinkIcon
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 ExternalToolTextResultForLlmContentResourceLinkIcon
impl Default for ExternalToolTextResultForLlmContentResourceLinkIcon
Source§fn default() -> ExternalToolTextResultForLlmContentResourceLinkIcon
fn default() -> ExternalToolTextResultForLlmContentResourceLinkIcon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentResourceLinkIcon
impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentResourceLinkIcon
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 ExternalToolTextResultForLlmContentResourceLinkIcon
impl RefUnwindSafe for ExternalToolTextResultForLlmContentResourceLinkIcon
impl Send for ExternalToolTextResultForLlmContentResourceLinkIcon
impl Sync for ExternalToolTextResultForLlmContentResourceLinkIcon
impl Unpin for ExternalToolTextResultForLlmContentResourceLinkIcon
impl UnsafeUnpin for ExternalToolTextResultForLlmContentResourceLinkIcon
impl UnwindSafe for ExternalToolTextResultForLlmContentResourceLinkIcon
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