pub struct ContentTypes { /* private fields */ }
Implementations§
Source§impl ContentTypes
impl ContentTypes
pub fn new() -> ContentTypes
pub fn add_content( self, path: impl Into<String>, namespace: impl Into<String>, ) -> Self
pub fn set_default(self) -> ContentTypes
pub fn add_taskpanes(self) -> Self
pub fn add_web_extensions(self) -> Self
pub fn add_custom_xml(self) -> Self
pub fn add_header(self) -> Self
Trait Implementations§
Source§impl Clone for ContentTypes
impl Clone for ContentTypes
Source§fn clone(&self) -> ContentTypes
fn clone(&self) -> ContentTypes
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 Debug for ContentTypes
impl Debug for ContentTypes
Source§impl Default for ContentTypes
impl Default for ContentTypes
Source§impl<'de> Deserialize<'de> for ContentTypes
impl<'de> Deserialize<'de> for ContentTypes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromXML for ContentTypes
impl FromXML for ContentTypes
Source§impl PartialEq for ContentTypes
impl PartialEq for ContentTypes
Source§impl Serialize for ContentTypes
impl Serialize for ContentTypes
impl StructuralPartialEq for ContentTypes
Auto Trait Implementations§
impl Freeze for ContentTypes
impl RefUnwindSafe for ContentTypes
impl Send for ContentTypes
impl Sync for ContentTypes
impl Unpin for ContentTypes
impl UnwindSafe for ContentTypes
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