pub struct SourceRef {
pub uri: String,
pub commit: String,
pub content_hash: String,
}Expand description
Stable provenance for a raw input document.
Serialized on the wire as part of the switchback source layer.
Fields§
§uri: StringCanonical URI for the input document.
commit: StringSource control commit hash, when known.
content_hash: StringContent hash for change detection.
Trait Implementations§
impl Eq for SourceRef
impl StructuralPartialEq for SourceRef
Auto Trait Implementations§
impl Freeze for SourceRef
impl RefUnwindSafe for SourceRef
impl Send for SourceRef
impl Sync for SourceRef
impl Unpin for SourceRef
impl UnsafeUnpin for SourceRef
impl UnwindSafe for SourceRef
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