pub struct ResolvedContent {
pub content: String,
pub content_type: String,
pub immutable: bool,
}Expand description
Content resolved from an internal protocol URL (e.g. skill://, issue://).
Fields§
§content: StringThe resolved text content.
content_type: StringMIME type: “text/markdown”, “application/json”, “text/plain”.
immutable: boolTrue if the content is uneditable (suppresses hashline anchors).
Auto Trait Implementations§
impl Freeze for ResolvedContent
impl RefUnwindSafe for ResolvedContent
impl Send for ResolvedContent
impl Sync for ResolvedContent
impl Unpin for ResolvedContent
impl UnsafeUnpin for ResolvedContent
impl UnwindSafe for ResolvedContent
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