pub struct DictAttribute {
pub caption: &'static str,
pub default: Option<i32>,
pub description: &'static str,
pub attr_enum: Option<&'static str>,
pub is_array: Option<bool>,
pub sibling: Option<&'static str>,
pub attr_type: TypeNames,
}Expand description
A generic way of identifying attributes from the dictionary.
Fields§
§caption: &'static str§default: Option<i32>§description: &'static str§attr_enum: Option<&'static str>§is_array: Option<bool>§sibling: Option<&'static str>§attr_type: TypeNamesattr_type maps to ‘type’ in the actual schema.
Trait Implementations§
Source§impl Clone for DictAttribute
impl Clone for DictAttribute
Source§fn clone(&self) -> DictAttribute
fn clone(&self) -> DictAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DictAttribute
impl Debug for DictAttribute
Auto Trait Implementations§
impl Freeze for DictAttribute
impl RefUnwindSafe for DictAttribute
impl Send for DictAttribute
impl Sync for DictAttribute
impl Unpin for DictAttribute
impl UnsafeUnpin for DictAttribute
impl UnwindSafe for DictAttribute
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