pub enum DocumentSymbolPartialResponse {
SymbolInformationList(Vec<SymbolInformation>),
DocumentSymbolList(Vec<DocumentSymbol>),
}Variants§
SymbolInformationList(Vec<SymbolInformation>)
DocumentSymbolList(Vec<DocumentSymbol>)
Trait Implementations§
Source§impl Clone for DocumentSymbolPartialResponse
impl Clone for DocumentSymbolPartialResponse
Source§fn clone(&self) -> DocumentSymbolPartialResponse
fn clone(&self) -> DocumentSymbolPartialResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DocumentSymbolPartialResponse
impl<'de> Deserialize<'de> for DocumentSymbolPartialResponse
Source§fn 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
Source§impl From<Vec<DocumentSymbol>> for DocumentSymbolPartialResponse
impl From<Vec<DocumentSymbol>> for DocumentSymbolPartialResponse
Source§fn from(v: Vec<DocumentSymbol>) -> Self
fn from(v: Vec<DocumentSymbol>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<SymbolInformation>> for DocumentSymbolPartialResponse
impl From<Vec<SymbolInformation>> for DocumentSymbolPartialResponse
Source§fn from(v: Vec<SymbolInformation>) -> Self
fn from(v: Vec<SymbolInformation>) -> Self
Converts to this type from the input type.
Source§impl Hash for DocumentSymbolPartialResponse
impl Hash for DocumentSymbolPartialResponse
Source§impl PartialEq for DocumentSymbolPartialResponse
impl PartialEq for DocumentSymbolPartialResponse
Source§fn eq(&self, other: &DocumentSymbolPartialResponse) -> bool
fn eq(&self, other: &DocumentSymbolPartialResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DocumentSymbolPartialResponse
impl StructuralPartialEq for DocumentSymbolPartialResponse
Auto Trait Implementations§
impl Freeze for DocumentSymbolPartialResponse
impl RefUnwindSafe for DocumentSymbolPartialResponse
impl Send for DocumentSymbolPartialResponse
impl Sync for DocumentSymbolPartialResponse
impl Unpin for DocumentSymbolPartialResponse
impl UnsafeUnpin for DocumentSymbolPartialResponse
impl UnwindSafe for DocumentSymbolPartialResponse
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