[][src]Struct docx_rs::Insert

pub struct Insert {
    pub run: Run,
    pub author: String,
    pub date: String,
}

Fields

run: Runauthor: Stringdate: String

Methods

impl Insert[src]

pub fn new(run: Run) -> Insert[src]

pub fn author(self, author: impl Into<String>) -> Insert[src]

pub fn date(self, date: impl Into<String>) -> Insert[src]

Trait Implementations

impl Clone for Insert[src]

impl Debug for Insert[src]

impl Default for Insert[src]

Auto Trait Implementations

impl RefUnwindSafe for Insert

impl Send for Insert

impl Sync for Insert

impl Unpin for Insert

impl UnwindSafe for Insert

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.