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