Struct docx_rust::document::HeaderReference
source · pub struct HeaderReference<'a> {
pub ty: Option<HeaderFooterReferenceType>,
pub id: Option<Cow<'a, str>>,
}
Expand description
HeaderReference
Fields§
§ty: Option<HeaderFooterReferenceType>
Specifies the HeaderReference type of this HeaderReference.
id: Option<Cow<'a, str>>
Implementations§
Trait Implementations§
source§impl<'a> Clone for HeaderReference<'a>
impl<'a> Clone for HeaderReference<'a>
source§fn clone(&self) -> HeaderReference<'a>
fn clone(&self) -> HeaderReference<'a>
Returns a copy 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<'a> Debug for HeaderReference<'a>
impl<'a> Debug for HeaderReference<'a>
source§impl<'a> Default for HeaderReference<'a>
impl<'a> Default for HeaderReference<'a>
source§fn default() -> HeaderReference<'a>
fn default() -> HeaderReference<'a>
Returns the “default value” for a type. Read more
source§fn from(original: HeaderReference<'a>) -> HeaderFooterReference<'a>
fn from(original: HeaderReference<'a>) -> HeaderFooterReference<'a>
Converts to this type from the input type.