pub struct AttributeOption {
pub description: Option<String>,
pub value: Option<String>,
}Expand description
AttributeOption : The definition of the attribute option.
Fields§
§description: Option<String>The description of the attribute value.
value: Option<String>The possible values for the attribute option.
Implementations§
Source§impl AttributeOption
impl AttributeOption
Sourcepub fn new() -> AttributeOption
pub fn new() -> AttributeOption
The definition of the attribute option.
Trait Implementations§
Source§impl Clone for AttributeOption
impl Clone for AttributeOption
Source§fn clone(&self) -> AttributeOption
fn clone(&self) -> AttributeOption
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 AttributeOption
impl Debug for AttributeOption
Source§impl Default for AttributeOption
impl Default for AttributeOption
Source§fn default() -> AttributeOption
fn default() -> AttributeOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeOption
impl<'de> Deserialize<'de> for AttributeOption
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 AttributeOption
impl PartialEq for AttributeOption
Source§impl Serialize for AttributeOption
impl Serialize for AttributeOption
impl StructuralPartialEq for AttributeOption
Auto Trait Implementations§
impl Freeze for AttributeOption
impl RefUnwindSafe for AttributeOption
impl Send for AttributeOption
impl Sync for AttributeOption
impl Unpin for AttributeOption
impl UnsafeUnpin for AttributeOption
impl UnwindSafe for AttributeOption
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