pub struct Property { /* private fields */ }Expand description
A property
Implementations§
source§impl Property
impl Property
sourcepub fn access(&self) -> &str
pub fn access(&self) -> &str
Returns the property access flags (should be “read”, “write” or “readwrite”).
sourcepub fn annotations(&self) -> Vec<&Annotation>
pub fn annotations(&self) -> Vec<&Annotation>
Return the associated annotations.
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