pub struct PropertyMetadata {
pub name: String,
pub description: Option<String>,
pub long_description: Option<String>,
pub enabled: bool,
pub visible: bool,
pub kind: PropertyKind,
}Fields§
§name: String§description: Option<String>§long_description: Option<String>§enabled: bool§visible: bool§kind: PropertyKindImplementations§
Source§impl PropertyMetadata
impl PropertyMetadata
Sourcepub fn enabled_list_values(&self) -> Vec<PropertyValue>
pub fn enabled_list_values(&self) -> Vec<PropertyValue>
Returns all enabled values advertised by a list property in their generic typed form.
Trait Implementations§
Source§impl Clone for PropertyMetadata
impl Clone for PropertyMetadata
Source§fn clone(&self) -> PropertyMetadata
fn clone(&self) -> PropertyMetadata
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 PropertyMetadata
impl Debug for PropertyMetadata
Source§impl PartialEq for PropertyMetadata
impl PartialEq for PropertyMetadata
impl StructuralPartialEq for PropertyMetadata
Auto Trait Implementations§
impl Freeze for PropertyMetadata
impl RefUnwindSafe for PropertyMetadata
impl Send for PropertyMetadata
impl Sync for PropertyMetadata
impl Unpin for PropertyMetadata
impl UnsafeUnpin for PropertyMetadata
impl UnwindSafe for PropertyMetadata
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