pub struct ModulePreview {
pub fqcn: String,
pub short_name: String,
pub cli_command: Option<CliCommand>,
pub examples: Option<String>,
}Fields§
§fqcn: StringFully-qualified collection name: <ns>.<name>.<short>.
short_name: StringShort module name (deploy_ddl, copy, …).
cli_command: Option<CliCommand>Detected CLI invocation, if the action plugin matched one of the
known patterns. None means the converter should fall through to
builtin / fallback resolvers.
examples: Option<String>Raw YAML from the module’s EXAMPLES = r'''...''' documentation
block, if present. Used to synthesize a demo playbook when the user
imports a collection without a corresponding playbook on disk.
Trait Implementations§
Source§impl Debug for ModulePreview
impl Debug for ModulePreview
Source§impl<'de> Deserialize<'de> for ModulePreview
impl<'de> Deserialize<'de> for ModulePreview
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
Auto Trait Implementations§
impl Freeze for ModulePreview
impl RefUnwindSafe for ModulePreview
impl Send for ModulePreview
impl Sync for ModulePreview
impl Unpin for ModulePreview
impl UnsafeUnpin for ModulePreview
impl UnwindSafe for ModulePreview
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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