pub struct CorePropertiesPart {
pub title: Option<String>,
pub subject: Option<String>,
pub creator: Option<String>,
pub keywords: Option<String>,
pub description: Option<String>,
pub last_modified_by: Option<String>,
pub revision: Option<u32>,
pub created: Option<String>,
pub modified: Option<String>,
/* private fields */
}Expand description
Core properties part (docProps/core.xml)
Fields§
§title: Option<String>§subject: Option<String>§creator: Option<String>§keywords: Option<String>§description: Option<String>§last_modified_by: Option<String>§revision: Option<u32>§created: Option<String>§modified: Option<String>Implementations§
Source§impl CorePropertiesPart
impl CorePropertiesPart
Sourcepub fn set_subject(&mut self, subject: &str) -> &mut Self
pub fn set_subject(&mut self, subject: &str) -> &mut Self
Set subject
Sourcepub fn set_creator(&mut self, creator: &str) -> &mut Self
pub fn set_creator(&mut self, creator: &str) -> &mut Self
Set creator
Sourcepub fn set_keywords(&mut self, keywords: &str) -> &mut Self
pub fn set_keywords(&mut self, keywords: &str) -> &mut Self
Set keywords
Sourcepub fn set_description(&mut self, description: &str) -> &mut Self
pub fn set_description(&mut self, description: &str) -> &mut Self
Set description
Trait Implementations§
Source§impl Clone for CorePropertiesPart
impl Clone for CorePropertiesPart
Source§fn clone(&self) -> CorePropertiesPart
fn clone(&self) -> CorePropertiesPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CorePropertiesPart
impl Debug for CorePropertiesPart
Source§impl Default for CorePropertiesPart
impl Default for CorePropertiesPart
Source§impl Part for CorePropertiesPart
impl Part for CorePropertiesPart
Source§fn content_type(&self) -> ContentType
fn content_type(&self) -> ContentType
Get the content type
Auto Trait Implementations§
impl Freeze for CorePropertiesPart
impl RefUnwindSafe for CorePropertiesPart
impl Send for CorePropertiesPart
impl Sync for CorePropertiesPart
impl Unpin for CorePropertiesPart
impl UnsafeUnpin for CorePropertiesPart
impl UnwindSafe for CorePropertiesPart
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