pub struct Metadata {
pub file_path: Option<String>,
pub repo_url: Option<String>,
pub commit_hash: Option<String>,
pub language: Option<String>,
pub extra: HashMap<String, String>,
}Expand description
Metadata associated with an entry
Fields§
§file_path: Option<String>Optional file path if applicable
repo_url: Option<String>Optional repository URL
commit_hash: Option<String>Optional commit hash
language: Option<String>Optional language/technology
extra: HashMap<String, String>Additional custom fields (as key-value pairs)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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