pub struct IRInterface {
pub name: String,
pub fields: Vec<IRField>,
pub description: Option<String>,
}Expand description
IR Interface definition.
Fields§
§name: StringInterface name (e.g., “Node”).
fields: Vec<IRField>Interface fields.
description: Option<String>Interface description.
Trait Implementations§
Source§impl Clone for IRInterface
impl Clone for IRInterface
Source§fn clone(&self) -> IRInterface
fn clone(&self) -> IRInterface
Returns a duplicate 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 IRInterface
impl Debug for IRInterface
Source§impl<'de> Deserialize<'de> for IRInterface
impl<'de> Deserialize<'de> for IRInterface
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
Source§impl PartialEq for IRInterface
impl PartialEq for IRInterface
Source§impl Serialize for IRInterface
impl Serialize for IRInterface
impl StructuralPartialEq for IRInterface
Auto Trait Implementations§
impl Freeze for IRInterface
impl RefUnwindSafe for IRInterface
impl Send for IRInterface
impl Sync for IRInterface
impl Unpin for IRInterface
impl UnsafeUnpin for IRInterface
impl UnwindSafe for IRInterface
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