pub struct OfferRunner {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub target: Option<Ref>,
pub target_name: Option<String>,
pub source_dictionary: Option<String>,
}
Expand description
Declares a runner offered by a component to one of its children, which may have been offered by the component’s containing realm, the component itself, or one of its other children.
Fields§
§source: Option<Ref>
§source_name: Option<String>
§target: Option<Ref>
§target_name: Option<String>
§source_dictionary: Option<String>
Trait Implementations§
Source§impl Clone for OfferRunner
impl Clone for OfferRunner
Source§fn clone(&self) -> OfferRunner
fn clone(&self) -> OfferRunner
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OfferRunner
impl Debug for OfferRunner
Source§impl Default for OfferRunner
impl Default for OfferRunner
Source§fn default() -> OfferRunner
fn default() -> OfferRunner
Returns the “default value” for a type. Read more
Source§impl Encodable for OfferRunner
impl Encodable for OfferRunner
Source§type Encoded = WireOfferRunner
type Encoded = WireOfferRunner
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for OfferRunnerwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for OfferRunnerwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireOfferRunner> for OfferRunner
impl TakeFrom<WireOfferRunner> for OfferRunner
Source§fn take_from(from: &WireOfferRunner) -> Self
fn take_from(from: &WireOfferRunner) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for OfferRunner
impl RefUnwindSafe for OfferRunner
impl Send for OfferRunner
impl Sync for OfferRunner
impl Unpin for OfferRunner
impl UnwindSafe for OfferRunner
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