pub struct ResolvedUrl {
pub url: String,
pub content: String,
pub content_type: String,
pub size: Option<usize>,
pub source_path: Option<String>,
pub notes: Vec<String>,
pub immutable: bool,
}Expand description
A resolved virtual URL result. Consumed by read/search tools.
Fields§
§url: StringNormalized original URL (debug/logging).
content: StringResolved text content.
content_type: StringMIME type: “text/markdown” | “application/json” | “text/plain”.
size: Option<usize>Byte size (optional).
source_path: Option<String>Debug source path (not exposed to model).
notes: Vec<String>Extra notes (resolution warnings, etc.).
immutable: booltrue → uneditable (hashline anchor suppression).
Trait Implementations§
Source§impl Clone for ResolvedUrl
impl Clone for ResolvedUrl
Source§fn clone(&self) -> ResolvedUrl
fn clone(&self) -> ResolvedUrl
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 Debug for ResolvedUrl
impl Debug for ResolvedUrl
Source§impl<'de> Deserialize<'de> for ResolvedUrl
impl<'de> Deserialize<'de> for ResolvedUrl
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 ResolvedUrl
impl RefUnwindSafe for ResolvedUrl
impl Send for ResolvedUrl
impl Sync for ResolvedUrl
impl Unpin for ResolvedUrl
impl UnsafeUnpin for ResolvedUrl
impl UnwindSafe for ResolvedUrl
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