pub struct Interface { /* private fields */ }Expand description
An interface
Implementations§
source§impl Interface
impl Interface
sourcepub fn properties(&self) -> Vec<&Property>
pub fn properties(&self) -> Vec<&Property>
Returns the interface properties.
sourcepub fn annotations(&self) -> Vec<&Annotation>
pub fn annotations(&self) -> Vec<&Annotation>
Return the associated annotations.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Interface
impl<'de> Deserialize<'de> for Interface
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