pub struct ResolverRegistration {
pub resolver: Name,
pub from: RegistrationRef,
pub scheme: UrlScheme,
}
Fields§
§resolver: Name
The name of a resolver capability,
whose source is specified in from
.
from: RegistrationRef
The source of the resolver capability, one of:
parent
: The component’s parent.self
: This component.#<child-name>
: A reference to a child component instance.
scheme: UrlScheme
The URL scheme for which the resolver should handle resolution.
Trait Implementations§
Source§impl Debug for ResolverRegistration
impl Debug for ResolverRegistration
Source§impl<'de> Deserialize<'de> for ResolverRegistration
impl<'de> Deserialize<'de> for ResolverRegistration
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 ResolverRegistration
impl FromClause for ResolverRegistration
Source§impl MarkdownReferenceDocGenerator for ResolverRegistration
impl MarkdownReferenceDocGenerator for ResolverRegistration
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 ResolverRegistration
impl PartialEq for ResolverRegistration
Source§impl Serialize for ResolverRegistration
impl Serialize for ResolverRegistration
impl StructuralPartialEq for ResolverRegistration
Auto Trait Implementations§
impl Freeze for ResolverRegistration
impl RefUnwindSafe for ResolverRegistration
impl Send for ResolverRegistration
impl Sync for ResolverRegistration
impl Unpin for ResolverRegistration
impl UnwindSafe for ResolverRegistration
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