pub struct RunnerRegistration {
pub runner: Name,
pub from: RegistrationRef,
pub as: Option<Name>,
}
Fields§
§runner: Name
The name of a runner capability, whose source is specified in from
.
from: RegistrationRef
The source of the runner capability, one of:
parent
: The component’s parent.self
: This component.#<child-name>
: A reference to a child component instance.
as: Option<Name>
An explicit name for the runner as it will be known in
this environment. If omitted, defaults to runner
.
Trait Implementations§
Source§impl Debug for RunnerRegistration
impl Debug for RunnerRegistration
Source§impl<'de> Deserialize<'de> for RunnerRegistration
impl<'de> Deserialize<'de> for RunnerRegistration
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 FromClause for RunnerRegistration
impl FromClause for RunnerRegistration
Source§impl MarkdownReferenceDocGenerator for RunnerRegistration
impl MarkdownReferenceDocGenerator for RunnerRegistration
Source§fn get_reference_doc_markdown() -> String
fn get_reference_doc_markdown() -> String
Returns a Markdown representation of the reference docs for the
struct that is derived from
ReferenceDoc
. The returned Markdown
indents any #
Markdown headers in individual field doc comments
to ensure a well structured final Markdown document.§fn get_reference_doc_markdown_with_options(
indent_headers_by: usize,
indent_with_spaces: usize,
) -> String
fn get_reference_doc_markdown_with_options( indent_headers_by: usize, indent_with_spaces: usize, ) -> String
This method is called internally by the reference doc generator when
recursing to generate documentation for field types.
Source§impl PartialEq for RunnerRegistration
impl PartialEq for RunnerRegistration
Source§impl Serialize for RunnerRegistration
impl Serialize for RunnerRegistration
impl StructuralPartialEq for RunnerRegistration
Auto Trait Implementations§
impl Freeze for RunnerRegistration
impl RefUnwindSafe for RunnerRegistration
impl Send for RunnerRegistration
impl Sync for RunnerRegistration
impl Unpin for RunnerRegistration
impl UnwindSafe for RunnerRegistration
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