pub struct SetMultidocArgs {
pub file: String,
pub doc_index: usize,
pub path: String,
pub value: String,
}Expand description
Arguments of noyalib_set_multidoc.
Fields§
§file: StringPath to the multi-document YAML file on disk.
doc_index: usizeZero-based index of the document within the ----separated
stream to modify.
path: StringDotted/indexed path into the selected document.
value: StringReplacement value as a YAML fragment. Must parse in the target position; the file is left unchanged on parse error.
Trait Implementations§
Source§impl Debug for SetMultidocArgs
impl Debug for SetMultidocArgs
Source§impl<'de> Deserialize<'de> for SetMultidocArgs
impl<'de> Deserialize<'de> for SetMultidocArgs
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 SetMultidocArgs
impl JsonSchema for SetMultidocArgs
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 SetMultidocArgs
impl RefUnwindSafe for SetMultidocArgs
impl Send for SetMultidocArgs
impl Sync for SetMultidocArgs
impl Unpin for SetMultidocArgs
impl UnsafeUnpin for SetMultidocArgs
impl UnwindSafe for SetMultidocArgs
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