pub struct RunnerRegistration {
pub runner: Name,
pub from: RegistrationRef,
pub as: Option<Name>,
}Fields§
§runner: NameThe name of a runner capability, whose source is specified in from.
from: RegistrationRefThe 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.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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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