pub struct ReferencePart {
pub name: String,
pub value: String,
}Expand description
A single key-value part within a reference.
Fields§
§name: StringThe part name (local element name, e.g., “Name”, “Paragraph”).
value: StringThe part value (text content).
Trait Implementations§
Source§impl Clone for ReferencePart
impl Clone for ReferencePart
Source§fn clone(&self) -> ReferencePart
fn clone(&self) -> ReferencePart
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 moreSource§impl Debug for ReferencePart
impl Debug for ReferencePart
Source§impl PartialEq for ReferencePart
impl PartialEq for ReferencePart
impl StructuralPartialEq for ReferencePart
Auto Trait Implementations§
impl Freeze for ReferencePart
impl RefUnwindSafe for ReferencePart
impl Send for ReferencePart
impl Sync for ReferencePart
impl Unpin for ReferencePart
impl UnsafeUnpin for ReferencePart
impl UnwindSafe for ReferencePart
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