pub struct AcceptedDrift {
pub reason: String,
pub sha256: String,
}Expand description
One deliberate edit to a rendered whole file: why, and the digest of the exact bytes accepted, so a further edit still faults.
Fields§
§reason: StringWhy the project must deviate, which status reports beside the file.
sha256: StringThe SHA-256 of the accepted bytes, 64 lowercase hex characters.
Trait Implementations§
Source§impl Clone for AcceptedDrift
impl Clone for AcceptedDrift
Source§impl Debug for AcceptedDrift
impl Debug for AcceptedDrift
Source§impl<'de> Deserialize<'de> for AcceptedDrift
impl<'de> Deserialize<'de> for AcceptedDrift
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 AcceptedDrift
Source§impl PartialEq for AcceptedDrift
impl PartialEq for AcceptedDrift
Source§impl Serialize for AcceptedDrift
impl Serialize for AcceptedDrift
impl StructuralPartialEq for AcceptedDrift
Auto Trait Implementations§
impl Forget for AcceptedDrift
impl Freeze for AcceptedDrift
impl Move for AcceptedDrift
impl RefUnwindSafe for AcceptedDrift
impl Send for AcceptedDrift
impl Sync for AcceptedDrift
impl Unpin for AcceptedDrift
impl UnsafeUnpin for AcceptedDrift
impl UnwindSafe for AcceptedDrift
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.