pub struct SemanticPrivateTypeLeak {
pub exposed: SemanticSymbol,
pub private_declaration: SemanticSymbol,
pub relation: String,
pub diagnostic_code: Option<u32>,
}Expand description
Exact semantic evidence for a private type leak.
Fields§
§exposed: SemanticSymbolPublic symbol whose signature exposes the type.
private_declaration: SemanticSymbolProject-local declaration that is not package-public.
relation: StringSignature relation through which the type is exposed.
diagnostic_code: Option<u32>Stable TypeScript diagnostic code used as supporting evidence.
Trait Implementations§
Source§impl Clone for SemanticPrivateTypeLeak
impl Clone for SemanticPrivateTypeLeak
Source§impl Debug for SemanticPrivateTypeLeak
impl Debug for SemanticPrivateTypeLeak
Source§impl<'de> Deserialize<'de> for SemanticPrivateTypeLeak
impl<'de> Deserialize<'de> for SemanticPrivateTypeLeak
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
impl Eq for SemanticPrivateTypeLeak
Source§impl PartialEq for SemanticPrivateTypeLeak
impl PartialEq for SemanticPrivateTypeLeak
Source§impl Serialize for SemanticPrivateTypeLeak
impl Serialize for SemanticPrivateTypeLeak
impl StructuralPartialEq for SemanticPrivateTypeLeak
Auto Trait Implementations§
impl Freeze for SemanticPrivateTypeLeak
impl RefUnwindSafe for SemanticPrivateTypeLeak
impl Send for SemanticPrivateTypeLeak
impl Sync for SemanticPrivateTypeLeak
impl Unpin for SemanticPrivateTypeLeak
impl UnsafeUnpin for SemanticPrivateTypeLeak
impl UnwindSafe for SemanticPrivateTypeLeak
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.