pub struct RevisionRead {
pub path: String,
pub content: String,
pub rendered_hash_match: bool,
}Expand description
The result of read_at_revision.
Fields§
§path: StringThe path as of that revision.
content: String§rendered_hash_match: boolsha256(content) == revisions.rendered_hash: byte-exact when true.
Trait Implementations§
Source§impl Clone for RevisionRead
impl Clone for RevisionRead
Source§impl Debug for RevisionRead
impl Debug for RevisionRead
impl Eq for RevisionRead
Source§impl PartialEq for RevisionRead
impl PartialEq for RevisionRead
impl StructuralPartialEq for RevisionRead
Auto Trait Implementations§
impl Freeze for RevisionRead
impl RefUnwindSafe for RevisionRead
impl Send for RevisionRead
impl Sync for RevisionRead
impl Unpin for RevisionRead
impl UnsafeUnpin for RevisionRead
impl UnwindSafe for RevisionRead
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.