pub struct FieldLabelProvenance {
pub origin: SourceOrigin,
pub path: String,
pub container: TypeRef,
pub id: u32,
pub label: SourceLabel,
pub docs: Vec<String>,
}Fields§
§origin: SourceOriginA source occurrence is retained even when multiple spellings lower to the same semantic container node.
path: StringA stable AST-shaped occurrence path within origin, not a byte span.
container: TypeRef§id: u32§label: SourceLabel§docs: Vec<String>Trait Implementations§
Source§impl Clone for FieldLabelProvenance
impl Clone for FieldLabelProvenance
Source§fn clone(&self) -> FieldLabelProvenance
fn clone(&self) -> FieldLabelProvenance
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 FieldLabelProvenance
impl Debug for FieldLabelProvenance
Source§impl<'de> Deserialize<'de> for FieldLabelProvenance
impl<'de> Deserialize<'de> for FieldLabelProvenance
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 FieldLabelProvenance
Source§impl PartialEq for FieldLabelProvenance
impl PartialEq for FieldLabelProvenance
Source§impl Serialize for FieldLabelProvenance
impl Serialize for FieldLabelProvenance
impl StructuralPartialEq for FieldLabelProvenance
Auto Trait Implementations§
impl Freeze for FieldLabelProvenance
impl RefUnwindSafe for FieldLabelProvenance
impl Send for FieldLabelProvenance
impl Sync for FieldLabelProvenance
impl Unpin for FieldLabelProvenance
impl UnsafeUnpin for FieldLabelProvenance
impl UnwindSafe for FieldLabelProvenance
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.