pub enum DeclarationResponse {
Declaration(Declaration),
DeclarationLinkList(Vec<DeclarationLink>),
}Variants§
Declaration(Declaration)
DeclarationLinkList(Vec<DeclarationLink>)
Trait Implementations§
Source§impl Clone for DeclarationResponse
impl Clone for DeclarationResponse
Source§fn clone(&self) -> DeclarationResponse
fn clone(&self) -> DeclarationResponse
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 Debug for DeclarationResponse
impl Debug for DeclarationResponse
Source§impl<'de> Deserialize<'de> for DeclarationResponse
impl<'de> Deserialize<'de> for DeclarationResponse
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<Declaration> for DeclarationResponse
impl From<Declaration> for DeclarationResponse
Source§fn from(v: Declaration) -> Self
fn from(v: Declaration) -> Self
Converts to this type from the input type.
Source§impl From<Vec<LocationLink>> for DeclarationResponse
impl From<Vec<LocationLink>> for DeclarationResponse
Source§fn from(v: Vec<DeclarationLink>) -> Self
fn from(v: Vec<DeclarationLink>) -> Self
Converts to this type from the input type.
Source§impl Hash for DeclarationResponse
impl Hash for DeclarationResponse
Source§impl PartialEq for DeclarationResponse
impl PartialEq for DeclarationResponse
Source§fn eq(&self, other: &DeclarationResponse) -> bool
fn eq(&self, other: &DeclarationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeclarationResponse
impl Serialize for DeclarationResponse
impl Eq for DeclarationResponse
impl StructuralPartialEq for DeclarationResponse
Auto Trait Implementations§
impl Freeze for DeclarationResponse
impl RefUnwindSafe for DeclarationResponse
impl Send for DeclarationResponse
impl Sync for DeclarationResponse
impl Unpin for DeclarationResponse
impl UnsafeUnpin for DeclarationResponse
impl UnwindSafe for DeclarationResponse
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