pub struct Component {
pub url: Option<String>,
pub decl: Option<Data>,
pub package: Option<Package>,
pub config_values: Option<Data>,
pub resolution_context: Option<Context>,
pub abi_revision: Option<u64>,
}
Expand description
A component is a unit of executable software.
This object provides the component’s declaration, access to its package’s
content, and relevant metadata as resolved fuchsia.component.resolution.Resolver
.
Fields§
§url: Option<String>
§decl: Option<Data>
§package: Option<Package>
§config_values: Option<Data>
§resolution_context: Option<Context>
§abi_revision: Option<u64>
Trait Implementations§
Source§impl CompatFrom<Component> for Component
impl CompatFrom<Component> for Component
Source§fn compat_from(value: Component) -> Self
fn compat_from(value: Component) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<Component> for Component
impl CompatFrom<Component> for Component
Source§fn compat_from(value: Component) -> Self
fn compat_from(value: Component) -> Self
Converts
value
into a value of this type.impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]