Enum lsp_json::IntegerOrString
source · [−]Expand description
Message id type
Variants
Integer(i64)
String(String)
Trait Implementations
sourceimpl Debug for IntegerOrString
impl Debug for IntegerOrString
sourceimpl<'de> Deserialize<'de> for IntegerOrString
impl<'de> Deserialize<'de> for IntegerOrString
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for IntegerOrString
impl Display for IntegerOrString
sourceimpl Hash for IntegerOrString
impl Hash for IntegerOrString
sourceimpl PartialEq<IntegerOrString> for IntegerOrString
impl PartialEq<IntegerOrString> for IntegerOrString
sourcefn eq(&self, other: &IntegerOrString) -> bool
fn eq(&self, other: &IntegerOrString) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &IntegerOrString) -> bool
fn ne(&self, other: &IntegerOrString) -> bool
This method tests for !=.
sourceimpl Serialize for IntegerOrString
impl Serialize for IntegerOrString
impl Eq for IntegerOrString
impl StructuralEq for IntegerOrString
impl StructuralPartialEq for IntegerOrString
Auto Trait Implementations
impl RefUnwindSafe for IntegerOrString
impl Send for IntegerOrString
impl Sync for IntegerOrString
impl Unpin for IntegerOrString
impl UnwindSafe for IntegerOrString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more