Struct protobuf_support::lexer::json_number_lit::JsonNumberLit
source · pub struct JsonNumberLit(pub String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for JsonNumberLit
impl Clone for JsonNumberLit
source§fn clone(&self) -> JsonNumberLit
fn clone(&self) -> JsonNumberLit
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 JsonNumberLit
impl Debug for JsonNumberLit
source§impl Display for JsonNumberLit
impl Display for JsonNumberLit
source§impl PartialEq for JsonNumberLit
impl PartialEq for JsonNumberLit
source§fn eq(&self, other: &JsonNumberLit) -> bool
fn eq(&self, other: &JsonNumberLit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for JsonNumberLit
impl StructuralEq for JsonNumberLit
impl StructuralPartialEq for JsonNumberLit
Auto Trait Implementations§
impl RefUnwindSafe for JsonNumberLit
impl Send for JsonNumberLit
impl Sync for JsonNumberLit
impl Unpin for JsonNumberLit
impl UnwindSafe for JsonNumberLit
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