Struct reproto_core::RpTupleBody
[−]
[src]
pub struct RpTupleBody {
pub name: String,
pub comment: Vec<String>,
pub fields: Vec<Loc<RpField>>,
pub codes: Vec<Loc<RpCode>>,
pub match_decl: RpMatchDecl,
}Fields
name: String
comment: Vec<String>
fields: Vec<Loc<RpField>>
codes: Vec<Loc<RpCode>>
match_decl: RpMatchDecl
Methods
impl RpTupleBody[src]
Trait Implementations
impl Debug for RpTupleBody[src]
impl Clone for RpTupleBody[src]
fn clone(&self) -> RpTupleBody
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 RpTupleBody[src]
fn merge(&mut self, source: RpTupleBody) -> Result<()>
Merge the current model with another.