pub struct ObservedFolder {
pub exists: bool,
pub entries: Vec<String>,
pub head: Option<String>,
pub porcelain: Vec<String>,
pub tools: BTreeMap<String, String>,
}Expand description
The folder and the tools as the plan saw them.
Fields§
§exists: boolThe folder exists.
entries: Vec<String>Its entries’ names, sorted.
head: Option<String>HEAD, in a repository with a commit.
porcelain: Vec<String>git status --porcelain lines.
tools: BTreeMap<String, String>Each tool’s version line, by name.
Trait Implementations§
Source§impl Clone for ObservedFolder
impl Clone for ObservedFolder
Source§impl Debug for ObservedFolder
impl Debug for ObservedFolder
Source§impl Default for ObservedFolder
impl Default for ObservedFolder
Source§impl<'de> Deserialize<'de> for ObservedFolder
impl<'de> Deserialize<'de> for ObservedFolder
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
impl Eq for ObservedFolder
Source§impl JsonSchema for ObservedFolder
impl JsonSchema for ObservedFolder
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 moreSource§impl PartialEq for ObservedFolder
impl PartialEq for ObservedFolder
Source§impl Serialize for ObservedFolder
impl Serialize for ObservedFolder
impl StructuralPartialEq for ObservedFolder
Auto Trait Implementations§
impl Freeze for ObservedFolder
impl RefUnwindSafe for ObservedFolder
impl Send for ObservedFolder
impl Sync for ObservedFolder
impl Unpin for ObservedFolder
impl UnsafeUnpin for ObservedFolder
impl UnwindSafe for ObservedFolder
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