pub struct SourceEntry {
pub path: String,
pub revision: String,
pub source_id: Option<String>,
}Expand description
A member of the scope: its storage key and cheap change token.
Fields§
§path: StringThe repo-relative canonical path (docs.path).
revision: StringThe source’s change token (the fs adapter: "<mtime_ns>:<size>").
source_id: Option<String>The source locator when it differs from path.
Implementations§
Source§impl SourceEntry
impl SourceEntry
Trait Implementations§
Source§impl Clone for SourceEntry
impl Clone for SourceEntry
Source§impl Debug for SourceEntry
impl Debug for SourceEntry
impl Eq for SourceEntry
Source§impl PartialEq for SourceEntry
impl PartialEq for SourceEntry
impl StructuralPartialEq for SourceEntry
Auto Trait Implementations§
impl Freeze for SourceEntry
impl RefUnwindSafe for SourceEntry
impl Send for SourceEntry
impl Sync for SourceEntry
impl Unpin for SourceEntry
impl UnsafeUnpin for SourceEntry
impl UnwindSafe for SourceEntry
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,
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.