pub struct Blocker {
pub range: [usize; 2],
pub kind: String,
pub decision: String,
pub revision: Option<TargetPair>,
pub detail: Option<String>,
}Expand description
A known blocker: a range of the working text (zero-based Unicode scalar positions, exclusive end; observations, not an address family) an operation cannot assume editable.
Fields§
§range: [usize; 2][start, end) in Unicode scalar positions of the working text;
a zero-length range marks a position.
kind: Stringtracked_insertion, tracked_deletion, move, hyperlink,
field, content_control, symbol or opaque.
decision: Stringconditional when a selected revision decision can free the
range, unavailable when the structure itself blocks edits.
revision: Option<TargetPair>The revision this blocker belongs to.
detail: Option<String>Human-readable detail.
Trait Implementations§
impl Eq for Blocker
Source§impl Serialize for Blocker
impl Serialize for Blocker
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 Blocker
Auto Trait Implementations§
impl Forget for Blocker
impl Freeze for Blocker
impl Move for Blocker
impl RefUnwindSafe for Blocker
impl Send for Blocker
impl Sync for Blocker
impl Unpin for Blocker
impl UnsafeUnpin for Blocker
impl UnwindSafe for Blocker
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.