Struct lsp_types::Moniker[][src]

pub struct Moniker {
    pub scheme: String,
    pub identifier: String,
    pub unique: UniquenessLevel,
    pub kind: Option<MonikerKind>,
}

Moniker definition to match LSIF 0.5 moniker definition.

Fields

scheme: String

The scheme of the moniker. For example tsc or .Net

identifier: String

The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.

unique: UniquenessLevel

The scope in which the moniker is unique

kind: Option<MonikerKind>

The moniker kind if known.

Trait Implementations

impl Clone for Moniker[src]

impl Debug for Moniker[src]

impl<'de> Deserialize<'de> for Moniker[src]

impl Eq for Moniker[src]

impl PartialEq<Moniker> for Moniker[src]

impl Serialize for Moniker[src]

impl StructuralEq for Moniker[src]

impl StructuralPartialEq for Moniker[src]

Auto Trait Implementations

impl RefUnwindSafe for Moniker

impl Send for Moniker

impl Sync for Moniker

impl Unpin for Moniker

impl UnwindSafe for Moniker

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.