Struct reproto_core::RpInterfaceBody
[−]
[src]
pub struct RpInterfaceBody {
pub name: String,
pub comment: Vec<String>,
pub fields: Vec<Loc<RpField>>,
pub codes: Vec<Loc<RpCode>>,
pub match_decl: RpMatchDecl,
pub sub_types: BTreeMap<String, Loc<Rc<RpSubType>>>,
}Fields
name: String
comment: Vec<String>
fields: Vec<Loc<RpField>>
codes: Vec<Loc<RpCode>>
match_decl: RpMatchDecl
sub_types: BTreeMap<String, Loc<Rc<RpSubType>>>
Methods
impl RpInterfaceBody[src]
Trait Implementations
impl Debug for RpInterfaceBody[src]
impl Clone for RpInterfaceBody[src]
fn clone(&self) -> RpInterfaceBody
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Merge for RpInterfaceBody[src]
fn merge(&mut self, source: RpInterfaceBody) -> Result<()>
Merge the current model with another.