pub struct TextAttribute {
pub value: String,
}Fields§
§value: String文本属性内容,长度限制64个UTF8字符
Trait Implementations§
Source§impl Debug for TextAttribute
impl Debug for TextAttribute
Source§impl Default for TextAttribute
impl Default for TextAttribute
Source§fn default() -> TextAttribute
fn default() -> TextAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextAttribute
impl<'de> Deserialize<'de> for TextAttribute
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
Auto Trait Implementations§
impl Freeze for TextAttribute
impl RefUnwindSafe for TextAttribute
impl Send for TextAttribute
impl Sync for TextAttribute
impl Unpin for TextAttribute
impl UnwindSafe for TextAttribute
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