pub struct DescriptionAttribute {
pub short: Option<String>,
pub standard: String,
}
Expand description
Description attribute
Fields§
§short: Option<String>
Short length description text
standard: String
Standard length description text
Trait Implementations§
Source§impl Clone for DescriptionAttribute
impl Clone for DescriptionAttribute
Source§fn clone(&self) -> DescriptionAttribute
fn clone(&self) -> DescriptionAttribute
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 DescriptionAttribute
impl Debug for DescriptionAttribute
Source§impl Default for DescriptionAttribute
impl Default for DescriptionAttribute
Source§fn default() -> DescriptionAttribute
fn default() -> DescriptionAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DescriptionAttributewhere
DescriptionAttribute: Default,
impl<'de> Deserialize<'de> for DescriptionAttributewhere
DescriptionAttribute: Default,
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 Hash for DescriptionAttribute
impl Hash for DescriptionAttribute
Source§impl PartialEq for DescriptionAttribute
impl PartialEq for DescriptionAttribute
Source§impl Serialize for DescriptionAttribute
impl Serialize for DescriptionAttribute
impl Eq for DescriptionAttribute
impl StructuralPartialEq for DescriptionAttribute
Auto Trait Implementations§
impl Freeze for DescriptionAttribute
impl RefUnwindSafe for DescriptionAttribute
impl Send for DescriptionAttribute
impl Sync for DescriptionAttribute
impl Unpin for DescriptionAttribute
impl UnwindSafe for DescriptionAttribute
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