pub struct SourceContent {
pub source_type: SourceType,
pub content: String,
pub metadata: HashMap<String, String>,
}Expand description
Resolved source content Reserved for future multi-source spec ingestion
Fields§
§source_type: SourceType§content: String§metadata: HashMap<String, String>Trait Implementations§
Source§impl Clone for SourceContent
impl Clone for SourceContent
Source§fn clone(&self) -> SourceContent
fn clone(&self) -> SourceContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SourceContent
impl RefUnwindSafe for SourceContent
impl Send for SourceContent
impl Sync for SourceContent
impl Unpin for SourceContent
impl UnsafeUnpin for SourceContent
impl UnwindSafe for SourceContent
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