[][src]Struct docx_rs::Rels

pub struct Rels {
    pub rels: Vec<(String, String, String)>,
}

Fields

rels: Vec<(String, String, String)>

Methods

impl Rels[src]

pub fn new() -> Rels[src]

pub fn set_default(self) -> Self[src]

pub fn add_rel(
    self,
    id: impl Into<String>,
    rel_type: impl Into<String>,
    target: impl Into<String>
) -> Self
[src]

pub fn find_target(&self, rel_type: &str) -> Option<&(String, String, String)>[src]

Trait Implementations

impl Clone for Rels[src]

impl Debug for Rels[src]

impl Default for Rels[src]

impl<'de> Deserialize<'de> for Rels[src]

impl FromXML for Rels[src]

impl PartialEq<Rels> for Rels[src]

impl Serialize for Rels[src]

impl StructuralPartialEq for Rels[src]

Auto Trait Implementations

impl RefUnwindSafe for Rels

impl Send for Rels

impl Sync for Rels

impl Unpin for Rels

impl UnwindSafe for Rels

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.