pub struct WorktreeStatusInput {
pub path: Option<String>,
}Expand description
Where to answer from.
Fields§
§path: Option<String>A directory inside one of this repository’s worktrees; the answer is about that
worktree. Relative to the primary checkout when relative (. is the primary
checkout itself). Default: the repository the server was started for. A path in
another repository is refused: the topology answers only about its own.
Trait Implementations§
Source§impl BenchmarkCases for StatusInput
impl BenchmarkCases for StatusInput
Source§fn benchmark_cases(_: &CaseContext<'_>) -> Vec<NamedCase<Self>>
fn benchmark_cases(_: &CaseContext<'_>) -> Vec<NamedCase<Self>>
The cases, in a stable order. An empty list means “nothing to benchmark in this
repository”, which the coverage check reports as missing.
Source§fn benchmark_cases_json(ctx: &CaseContext<'_>) -> Vec<NamedCase<Value>>
fn benchmark_cases_json(ctx: &CaseContext<'_>) -> Vec<NamedCase<Value>>
The cases as JSON, the shape every runner serialises from.
Source§impl Clone for StatusInput
impl Clone for StatusInput
Source§fn clone(&self) -> StatusInput
fn clone(&self) -> StatusInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusInput
impl Debug for StatusInput
Source§impl Default for StatusInput
impl Default for StatusInput
Source§fn default() -> StatusInput
fn default() -> StatusInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusInput
impl<'de> Deserialize<'de> for StatusInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for StatusInput
impl JsonSchema for StatusInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for StatusInput
impl RefUnwindSafe for StatusInput
impl Send for StatusInput
impl Sync for StatusInput
impl Unpin for StatusInput
impl UnsafeUnpin for StatusInput
impl UnwindSafe for StatusInput
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