Struct lib_ruby_parser_nodes::MessageField
source · pub struct MessageField {
pub snakecase_name: &'static str,
pub field_type: MessageFieldType,
pub comment: &'static [&'static str],
}
Fields§
§snakecase_name: &'static str
§field_type: MessageFieldType
§comment: &'static [&'static str]
Trait Implementations§
source§impl Clone for MessageField
impl Clone for MessageField
source§fn clone(&self) -> MessageField
fn clone(&self) -> MessageField
Returns a copy 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 MessageField
impl Debug for MessageField
source§impl Ord for MessageField
impl Ord for MessageField
source§fn cmp(&self, other: &MessageField) -> Ordering
fn cmp(&self, other: &MessageField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MessageField> for MessageField
impl PartialEq<MessageField> for MessageField
source§fn eq(&self, other: &MessageField) -> bool
fn eq(&self, other: &MessageField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MessageField> for MessageField
impl PartialOrd<MessageField> for MessageField
source§fn partial_cmp(&self, other: &MessageField) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more