Struct ooxml::packaging::app_property::AppProperties
source · pub struct AppProperties {
pub namespaces: Namespaces,
pub application: Option<Application>,
pub heading_pairs: Option<HeadingPairs>,
pub titles_of_parts: Option<TitlesOfParts>,
pub lines: Option<String>,
pub links_up_to_date: Option<String>,
pub local_name: Option<String>,
pub company: Option<String>,
pub template: Option<String>,
pub manager: Option<String>,
pub pages: Option<String>,
}
Expand description
App properties
Fields§
§namespaces: Namespaces
§application: Option<Application>
§heading_pairs: Option<HeadingPairs>
§titles_of_parts: Option<TitlesOfParts>
§lines: Option<String>
§links_up_to_date: Option<String>
§local_name: Option<String>
§company: Option<String>
§template: Option<String>
§manager: Option<String>
§pages: Option<String>
Trait Implementations§
source§impl Clone for AppProperties
impl Clone for AppProperties
source§fn clone(&self) -> AppProperties
fn clone(&self) -> AppProperties
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 AppProperties
impl Debug for AppProperties
source§impl Default for AppProperties
impl Default for AppProperties
source§fn default() -> AppProperties
fn default() -> AppProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AppProperties
impl<'de> Deserialize<'de> for AppProperties
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 OpenXmlElementInfo for AppProperties
impl OpenXmlElementInfo for AppProperties
source§fn element_type() -> OpenXmlElementType
fn element_type() -> OpenXmlElementType
Element type
source§fn as_bytes_start() -> BytesStart<'static>
fn as_bytes_start() -> BytesStart<'static>
Helper function for xml tag start.
source§fn as_bytes_end() -> BytesEnd<'static>
fn as_bytes_end() -> BytesEnd<'static>
Helper function for xml end.
source§fn is_leaf_text_element() -> bool
fn is_leaf_text_element() -> bool
Check element type
source§fn is_root_element() -> bool
fn is_root_element() -> bool
Check element type
source§fn have_tag_name() -> bool
fn have_tag_name() -> bool
If the element have a tag name. Read more
source§fn can_have_namespace_declarations() -> bool
fn can_have_namespace_declarations() -> bool
If the element can have namespace declartions.
source§fn can_have_attributes() -> bool
fn can_have_attributes() -> bool
If the element can have attributes.
source§fn can_have_children() -> bool
fn can_have_children() -> bool
If the element can have children. Read more
source§impl OpenXmlSerialize for AppProperties
impl OpenXmlSerialize for AppProperties
source§fn namespaces(&self) -> Option<Cow<'_, Namespaces>>
fn namespaces(&self) -> Option<Cow<'_, Namespaces>>
Get element namespaces, if have.
source§fn write_outter<W: Write>(&self, writer: W) -> Result<()>
fn write_outter<W: Write>(&self, writer: W) -> Result<()>
Write outter xml to writer. Read more
source§fn save_as<P: AsRef<Path>>(&self, path: P) -> Result<(), OoxmlError>
fn save_as<P: AsRef<Path>>(&self, path: P) -> Result<(), OoxmlError>
Write the standalone xml to path
source§fn to_xml_bytes(&self) -> Result<Vec<u8>, OoxmlError>
fn to_xml_bytes(&self) -> Result<Vec<u8>, OoxmlError>
Output the xml to an Vec block.
source§fn to_xml_string(&self) -> Result<String, OoxmlError>
fn to_xml_string(&self) -> Result<String, OoxmlError>
Output the xml to string.
source§impl Serialize for AppProperties
impl Serialize for AppProperties
impl OpenXmlDeserializeDefault for AppProperties
Auto Trait Implementations§
impl RefUnwindSafe for AppProperties
impl Send for AppProperties
impl Sync for AppProperties
impl Unpin for AppProperties
impl UnwindSafe for AppProperties
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
source§impl<T> OpenXmlDeserialize for Twhere
T: OpenXmlDeserializeDefault,
impl<T> OpenXmlDeserialize for Twhere T: OpenXmlDeserializeDefault,
source§fn from_xml_reader<R>(reader: R) -> Result<T, OoxmlError>where
R: BufRead,
fn from_xml_reader<R>(reader: R) -> Result<T, OoxmlError>where R: BufRead,
Parse from an xml stream reader
source§fn from_xml_str(s: &str) -> Result<Self, OoxmlError>
fn from_xml_str(s: &str) -> Result<Self, OoxmlError>
Parse from an xml raw string.
source§fn from_xml_file<P: AsRef<Path>>(path: P) -> Result<Self, OoxmlError>
fn from_xml_file<P: AsRef<Path>>(path: P) -> Result<Self, OoxmlError>
Open a OpenXML file path, parse everything into the memory.