Struct rdocs::parser::ContentMetadata  
source · pub struct ContentMetadata {
    pub id: String,
}Expand description
Represents metadata associated with content, including an ID.
Fields§
§id: StringImplementations§
source§impl ContentMetadata
 
impl ContentMetadata
sourcepub fn new(str: &str) -> Option<Self>
 
pub fn new(str: &str) -> Option<Self>
Creates a new instance of ContentMetadata from the specified string.
Trait Implementations§
source§impl Debug for ContentMetadata
 
impl Debug for ContentMetadata
Auto Trait Implementations§
impl Freeze for ContentMetadata
impl RefUnwindSafe for ContentMetadata
impl Send for ContentMetadata
impl Sync for ContentMetadata
impl Unpin for ContentMetadata
impl UnwindSafe for ContentMetadata
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