pub struct SignatureResponse {
pub id: SignatureHandle,
pub flags: u32,
pub declaration: Option<NodeHandle>,
pub type_parameters: Vec<TypeHandle>,
pub parameters: Vec<SymbolHandle>,
pub this_parameter: Option<SymbolHandle>,
pub target: Option<SignatureHandle>,
}Expand description
Call signature metadata returned by checker-oriented endpoints.
Fields§
§id: SignatureHandleOpaque handle used to reference the signature later.
flags: u32TypeScript SignatureFlags bitset.
declaration: Option<NodeHandle>Declaration node that produced the signature, if exposed.
type_parameters: Vec<TypeHandle>Generic type parameters declared on the signature.
parameters: Vec<SymbolHandle>Parameter symbols in declaration order.
this_parameter: Option<SymbolHandle>this parameter symbol when explicitly modeled.
target: Option<SignatureHandle>Target signature for instantiated or wrapped signatures.
Trait Implementations§
Source§impl Clone for SignatureResponse
impl Clone for SignatureResponse
Source§fn clone(&self) -> SignatureResponse
fn clone(&self) -> SignatureResponse
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 SignatureResponse
impl Debug for SignatureResponse
Source§impl<'de> Deserialize<'de> for SignatureResponse
impl<'de> Deserialize<'de> for SignatureResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignatureResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignatureResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SignatureResponse
impl PartialEq for SignatureResponse
Source§fn eq(&self, other: &SignatureResponse) -> bool
fn eq(&self, other: &SignatureResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignatureResponse
impl Serialize for SignatureResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SignatureResponse
impl StructuralPartialEq for SignatureResponse
Auto Trait Implementations§
impl Freeze for SignatureResponse
impl RefUnwindSafe for SignatureResponse
impl Send for SignatureResponse
impl Sync for SignatureResponse
impl Unpin for SignatureResponse
impl UnsafeUnpin for SignatureResponse
impl UnwindSafe for SignatureResponse
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