pub struct Ids {
pub change: Vec<String>,
pub comment: Vec<String>,
pub comment_text: Vec<String>,
pub paragraph: Vec<String>,
pub table: Vec<String>,
pub control: Vec<String>,
pub note: String,
}Expand description
The id spellings the CLI, plans and selectors take, by kind
(crate::ids).
Fields§
§change: Vec<String>Sample change-id spellings (r12, r1+2, header1.r1, …)
used by accept / reject --id and edit -p … --accept /
--reject.
comment: Vec<String>Sample comment-id spellings (c27) used by edit / add -p and an edit plan’s comment_id.
comment_text: Vec<String>The text a comment covers (edit -p, a plan’s paragraph).
paragraph: Vec<String>Paragraphs (edit/add -p, a plan’s anchors); read -p takes only
pN, pN-pM and tN.
table: Vec<String>Tables: read -p tN selects one; edit/add -p address a cell as
tN.rowR.cellC.
control: Vec<String>Content controls (a plan’s fill_control): ccN for a block
control, pN.ccK for one in a paragraph.
note: StringHow ids print.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ids
impl<'de> Deserialize<'de> for Ids
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Ids, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Ids, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ids
Source§impl Serialize for Ids
impl Serialize for Ids
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 Ids
Auto Trait Implementations§
impl Forget for Ids
impl Freeze for Ids
impl Move for Ids
impl RefUnwindSafe for Ids
impl Send for Ids
impl Sync for Ids
impl Unpin for Ids
impl UnsafeUnpin for Ids
impl UnwindSafe for Ids
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,
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.