pub struct Readiness {
pub operation: String,
pub status: String,
pub blockers: Vec<usize>,
pub reason: Option<String>,
}Expand description
Readiness of one operation family on a paragraph: available,
conditional, unavailable or unknown. Range operations are
available on every range the blockers leave free.
Fields§
§operation: StringOperation family (replace, insert, delete, rewrite,
insert_paragraph, delete_paragraph, comment).
status: Stringavailable, conditional, unavailable or unknown.
blockers: Vec<usize>Indices into the row’s blockers.
reason: Option<String>Why the status is not available.
Trait Implementations§
impl Eq for Readiness
Source§impl Serialize for Readiness
impl Serialize for Readiness
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 Readiness
Auto Trait Implementations§
impl Forget for Readiness
impl Freeze for Readiness
impl Move for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin for Readiness
impl UnwindSafe for Readiness
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.