pub struct AttributeSpec {
pub default: Option<String>,
}
Expand description
属性规范定义
Fields§
§default: Option<String>
属性的默认值
Trait Implementations§
Source§impl Clone for AttributeSpec
impl Clone for AttributeSpec
Source§fn clone(&self) -> AttributeSpec
fn clone(&self) -> AttributeSpec
Returns a copy 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 AttributeSpec
impl Debug for AttributeSpec
Source§impl Hash for AttributeSpec
impl Hash for AttributeSpec
Source§impl PartialEq for AttributeSpec
impl PartialEq for AttributeSpec
Source§impl Serialize for AttributeSpec
impl Serialize for AttributeSpec
impl Eq for AttributeSpec
impl StructuralPartialEq for AttributeSpec
Auto Trait Implementations§
impl Freeze for AttributeSpec
impl RefUnwindSafe for AttributeSpec
impl Send for AttributeSpec
impl Sync for AttributeSpec
impl Unpin for AttributeSpec
impl UnwindSafe for AttributeSpec
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