Struct indradb::NamedProperty
source · pub struct NamedProperty {
pub name: Identifier,
pub value: Value,
}Expand description
A property.
Fields§
§name: IdentifierThe name of the property.
value: ValueThe property value.
Implementations§
source§impl NamedProperty
impl NamedProperty
sourcepub fn new(name: Identifier, value: Value) -> Self
pub fn new(name: Identifier, value: Value) -> Self
Trait Implementations§
source§impl Clone for NamedProperty
impl Clone for NamedProperty
source§fn clone(&self) -> NamedProperty
fn clone(&self) -> NamedProperty
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 NamedProperty
impl Debug for NamedProperty
source§impl PartialEq<NamedProperty> for NamedProperty
impl PartialEq<NamedProperty> for NamedProperty
source§fn eq(&self, other: &NamedProperty) -> bool
fn eq(&self, other: &NamedProperty) -> bool
This method tests for
self and other values to be equal, and is used
by ==.