We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce2d371 commit 28057c6Copy full SHA for 28057c6
crates/rmcp/src/model/content.rs
@@ -63,7 +63,7 @@ pub enum RawContent {
63
Resource(RawEmbeddedResource),
64
/// A link to a server resource that can be fetched on-demand
65
#[serde(rename = "resource_link")]
66
- ResourceLink(RawResource),
+ ResourceLink(super::resource::RawResource),
67
Audio(AudioContent),
68
}
69
@@ -83,7 +83,7 @@ impl RawContent {
83
84
85
/// Create a resource link content block
86
- pub fn resource_link(link: RawResource) -> Self {
+ pub fn resource_link(link: super::resource::RawResource) -> Self {
87
RawContent::ResourceLink(link)
88
89
0 commit comments