pub struct Parsed {
pub verb: String,
pub positional: Option<String>,
pub file: Option<String>,
pub id: Option<String>,
pub expect_revision: Option<String>,
pub read_only: bool,
pub json: bool,
}Expand description
One parsed lean-ctx workspace invocation.
Fields§
§verb: String§positional: Option<String>§file: Option<String>§id: Option<String>§expect_revision: Option<String>§read_only: bool§json: boolAuto Trait Implementations§
impl Forget for Parsed
impl Freeze for Parsed
impl Move for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsedwhere
RawVecInner: Send,
impl Sync for Parsedwhere
RawVecInner: Sync,
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsedwhere
RawVecInner: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more