pub struct ForEditRequest {Show 20 fields
pub select: Option<String>,
pub story: Option<String>,
pub head: Option<usize>,
pub tail: Option<usize>,
pub find: Option<String>,
pub regex: Option<String>,
pub ignore_case: bool,
pub changed: bool,
pub by: Option<String>,
pub by_any: Vec<String>,
pub context: usize,
pub limit: Option<usize>,
pub max_chars: Option<usize>,
pub all: bool,
pub cursor: Option<String>,
pub accept: Vec<String>,
pub reject: Vec<String>,
pub existing_revisions: ExistingRevisions,
pub track: bool,
pub closed_ranges_only: bool,
}Expand description
The working-basis inputs read --for-edit shares with template and
apply: the same settlement produces the same W.
Fields§
§select: Option<String>Printed IDs or closed ranges (p5, p4-p7, t0), resolved on S.
story: Option<String>Original story ID, or all (the default).
head: Option<usize>First N body paragraphs.
tail: Option<usize>Last N body paragraphs.
find: Option<String>Literal search on S’s final logical text.
regex: Option<String>Regex search on S’s final logical text (conflicts with find).
ignore_case: boolCase-insensitive search.
changed: boolBlocks intersecting a revision or comment of S.
by: Option<String>--changed author filter (a handle or full name).
by_any: Vec<String>Additional author filters, unioned with by for original marks.
context: usizeRead-only original-S neighbours around matches.
limit: Option<usize>Primary records per page (default 100); ignored under all.
max_chars: Option<usize>Character budget across all emitted text (default 24000); ignored
under all.
all: boolDisable presentation limits.
cursor: Option<String>Continuation cursor of an earlier bounded query.
accept: Vec<String>Selected revisions to accept in the working view (S ids).
reject: Vec<String>Selected revisions to reject in the working view (S ids).
existing_revisions: ExistingRevisionsRemaining-revision policy; default keep, matching new plans.
track: boolReadiness for tracked new edits (default) or direct ones.
closed_ranges_only: booledit template (and other plan surfaces) allow only closed ranges
(proposal §2); read --for-edit keeps the open-ended p17- /
-p3 spellings its shipped help documents, transitionally.
Trait Implementations§
Source§impl Clone for ForEditRequest
impl Clone for ForEditRequest
Source§fn clone(&self) -> ForEditRequest
fn clone(&self) -> ForEditRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ForEditRequest
impl Debug for ForEditRequest
Source§impl Default for ForEditRequest
impl Default for ForEditRequest
Source§fn default() -> ForEditRequest
fn default() -> ForEditRequest
impl Eq for ForEditRequest
Source§impl PartialEq for ForEditRequest
impl PartialEq for ForEditRequest
impl StructuralPartialEq for ForEditRequest
Auto Trait Implementations§
impl Forget for ForEditRequest
impl Freeze for ForEditRequest
impl Move for ForEditRequest
impl RefUnwindSafe for ForEditRequest
impl Send for ForEditRequest
impl Sync for ForEditRequest
impl Unpin for ForEditRequest
impl UnsafeUnpin for ForEditRequest
impl UnwindSafe for ForEditRequest
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
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
key and return true if they are equal.