pub struct Property {Show 13 fields
pub id: String,
pub label: MultiLingualString,
pub description: MultiLingualString,
pub aliases: MultiLingualStringList,
pub datatype: DataType,
pub instanceof: Vec<String>,
pub parents: Vec<String>,
pub ancestors: HashMap<String, usize>,
pub inverse_properties: Vec<String>,
pub related_properties: Vec<String>,
pub equivalent_properties: Vec<String>,
pub domains: Vec<String>,
pub ranges: Vec<String>,
}
Fields§
§id: String
§label: MultiLingualString
§description: MultiLingualString
§aliases: MultiLingualStringList
§datatype: DataType
§instanceof: Vec<String>
§parents: Vec<String>
§ancestors: HashMap<String, usize>
§inverse_properties: Vec<String>
§equivalent_properties: Vec<String>
§domains: Vec<String>
§ranges: Vec<String>
Implementations§
source§impl Property
impl Property
pub fn is_object_property(&self) -> bool
pub fn is_data_property(&self) -> bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
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
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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