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 for MessageField
impl PartialEq 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 for MessageField
impl PartialOrd 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 moresource§impl Serialize for MessageField
impl Serialize for MessageField
impl Eq for MessageField
impl StructuralPartialEq for MessageField
Auto Trait Implementations§
impl Freeze for MessageField
impl RefUnwindSafe for MessageField
impl Send for MessageField
impl Sync for MessageField
impl Unpin for MessageField
impl UnwindSafe for MessageField
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