pub struct WorkingText {
pub value: TextValue,
pub before_sha256: Option<String>,
}Expand description
The working view of one selected paragraph.
Fields§
§value: TextValueExact logical working text and its completeness.
before_sha256: Option<String>SHA-256 of the complete UTF-8 logical working text, shown even under a bounded preview (a preview is still not a payload). Absent when the codec cannot represent the text.
Trait Implementations§
Source§impl Clone for WorkingText
impl Clone for WorkingText
Source§fn clone(&self) -> WorkingText
fn clone(&self) -> WorkingText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkingText
impl Debug for WorkingText
impl Eq for WorkingText
Source§impl PartialEq for WorkingText
impl PartialEq for WorkingText
Source§impl Serialize for WorkingText
impl Serialize for WorkingText
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkingText
Auto Trait Implementations§
impl Forget for WorkingText
impl Freeze for WorkingText
impl Move for WorkingText
impl RefUnwindSafe for WorkingText
impl Send for WorkingText
impl Sync for WorkingText
impl Unpin for WorkingText
impl UnsafeUnpin for WorkingText
impl UnwindSafe for WorkingText
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.