pub struct CustomDocumentProperty { /* private fields */ }Implementations§
Source§impl CustomDocumentProperty
impl CustomDocumentProperty
pub fn get_name(&self) -> &str
pub fn set_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_link_target(&self) -> &str
pub fn set_link_target<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_value(&self) -> Cow<'static, str>
pub fn get_value_number(&self) -> Option<i32>
pub fn get_value_bool(&self) -> Option<bool>
pub fn set_value_string<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn set_value_number<T>(&mut self, value: T) -> &mut Self
pub fn set_value_date(&mut self, year: i32, month: i32, day: i32) -> &mut Self
pub fn set_value_date_manual<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn set_value_bool(&mut self, value: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for CustomDocumentProperty
impl Clone for CustomDocumentProperty
Source§fn clone(&self) -> CustomDocumentProperty
fn clone(&self) -> CustomDocumentProperty
Returns a duplicate 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 CustomDocumentProperty
impl Debug for CustomDocumentProperty
Source§impl Default for CustomDocumentProperty
impl Default for CustomDocumentProperty
Source§fn default() -> CustomDocumentProperty
fn default() -> CustomDocumentProperty
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CustomDocumentProperty
impl RefUnwindSafe for CustomDocumentProperty
impl Send for CustomDocumentProperty
impl Sync for CustomDocumentProperty
impl Unpin for CustomDocumentProperty
impl UnwindSafe for CustomDocumentProperty
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