pub struct ResourceContent {
pub uri: String,
pub mime_type: Option<String>,
pub text: String,
}Expand description
MCP resource content.
Fields§
§uri: String§mime_type: Option<String>§text: StringTrait Implementations§
Source§impl Debug for ResourceContent
impl Debug for ResourceContent
Auto Trait Implementations§
impl Freeze for ResourceContent
impl RefUnwindSafe for ResourceContent
impl Send for ResourceContent
impl Sync for ResourceContent
impl Unpin for ResourceContent
impl UnsafeUnpin for ResourceContent
impl UnwindSafe for ResourceContent
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