pub struct SectionChange {
pub section: String,
pub change: String,
pub paragraphs: usize,
}Expand description
How one section of a source differs from the revision a translation was made from.
Fields§
§section: StringThe heading text, prefixed with the chapter file for chapters; (top) before the first
heading.
change: Stringchanged, added or removed.
paragraphs: usizeParagraphs that differ (for changed) or that the section has (otherwise).
Trait Implementations§
Source§impl Clone for SectionChange
impl Clone for SectionChange
Source§impl Debug for SectionChange
impl Debug for SectionChange
impl Eq for SectionChange
Source§impl PartialEq for SectionChange
impl PartialEq for SectionChange
Source§impl Serialize for SectionChange
impl Serialize for SectionChange
impl StructuralPartialEq for SectionChange
Auto Trait Implementations§
impl Freeze for SectionChange
impl RefUnwindSafe for SectionChange
impl Send for SectionChange
impl Sync for SectionChange
impl Unpin for SectionChange
impl UnsafeUnpin for SectionChange
impl UnwindSafe for SectionChange
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more