Enum lsp::jsonrpc::Nullable [−][src]
pub enum Nullable<T> { None, Some(T), }
Variants
None
Some(T)
Trait Implementations
impl<T: Debug> Debug for Nullable<T>
[src]
impl<T: Debug> Debug for Nullable<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Serialize> Serialize for Nullable<T>
[src]
impl<T: Serialize> Serialize for Nullable<T>