pub struct StringData {
pub format: String,
pub length: String,
pub use: Option<String>,
pub custom_properties: Option<CustomPropertiesCollection>,
pub text: Option<String>,
}Expand description
StringDataType element
Note: Mixed content type
Fields§
§format: StringFormat attribute
length: StringLength attribute
use: Option<String>Use attribute
custom_properties: Option<CustomPropertiesCollection>CustomProperties element
text: Option<String>Text content
Trait Implementations§
Source§impl Clone for StringData
impl Clone for StringData
Source§fn clone(&self) -> StringData
fn clone(&self) -> StringData
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 StringData
impl Debug for StringData
Source§impl Default for StringData
impl Default for StringData
Source§fn default() -> StringData
fn default() -> StringData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringData
impl<'de> Deserialize<'de> for StringData
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 PartialEq for StringData
impl PartialEq for StringData
Source§impl Serialize for StringData
impl Serialize for StringData
impl StructuralPartialEq for StringData
Auto Trait Implementations§
impl Freeze for StringData
impl RefUnwindSafe for StringData
impl Send for StringData
impl Sync for StringData
impl Unpin for StringData
impl UnsafeUnpin for StringData
impl UnwindSafe for StringData
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