pub type ResourceInfo = Resource;
Aliased Type§
pub struct ResourceInfo {
pub uri: String,
pub name: Option<String>,
pub description: Option<String>,
pub mime_type: Option<String>,
pub annotations: Option<Annotations>,
pub size: Option<u64>,
}
Fields§
§uri: String
URI of the resource
name: Option<String>
Human-readable name of the resource
description: Option<String>
Description of the resource
mime_type: Option<String>
MIME type of the resource
annotations: Option<Annotations>
Resource annotations (2025-03-26)
size: Option<u64>
Resource size in bytes (2025-03-26)