pub struct Reference {
pub target: EntityRef,
pub kind: RefKind,
}Expand description
Structural cross-reference in an entity body (schema $ref, protobuf FQN, etc.).
Serialized on the wire as part of StoredEntity.
Fields§
§target: EntityRefAddress of the referenced entity within the manual.
kind: RefKindHow the reference is expressed in source (internal, external, inline, etc.).
Trait Implementations§
impl Eq for Reference
impl StructuralPartialEq for Reference
Auto Trait Implementations§
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnsafeUnpin for Reference
impl UnwindSafe for Reference
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