pub struct DirectoriesInput {
pub path: Option<String>,
pub effective: Option<bool>,
pub state: Option<DirectoryState>,
}Expand description
Which directories to answer for, and how much of the hierarchy to resolve.
Fields§
§path: Option<String>One directory, repository-relative and inside the layer. Its effective chain is always resolved. Absent means every directory of the layer.
effective: Option<bool>Resolve the effective chain for every directory, not only for a named one.
state: Option<DirectoryState>Only directories in this state: documented, exempt or owed.
Trait Implementations§
Source§impl BenchmarkCases for DirectoriesInput
impl BenchmarkCases for DirectoriesInput
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 DirectoriesInput
impl Clone for DirectoriesInput
Source§fn clone(&self) -> DirectoriesInput
fn clone(&self) -> DirectoriesInput
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 DirectoriesInput
impl Debug for DirectoriesInput
Source§impl Default for DirectoriesInput
impl Default for DirectoriesInput
Source§fn default() -> DirectoriesInput
fn default() -> DirectoriesInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectoriesInput
impl<'de> Deserialize<'de> for DirectoriesInput
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 DirectoriesInput
impl JsonSchema for DirectoriesInput
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 DirectoriesInput
impl RefUnwindSafe for DirectoriesInput
impl Send for DirectoriesInput
impl Sync for DirectoriesInput
impl Unpin for DirectoriesInput
impl UnsafeUnpin for DirectoriesInput
impl UnwindSafe for DirectoriesInput
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