pub struct OfferEventStream {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub scope: Option<Vec<Ref>>,
pub target: Option<Ref>,
pub target_name: Option<String>,
pub availability: Option<Availability>,
}
Expand description
Declares an event stream offered by a component.
Fields§
§source: Option<Ref>
§source_name: Option<String>
§scope: Option<Vec<Ref>>
§target: Option<Ref>
§target_name: Option<String>
§availability: Option<Availability>
Trait Implementations§
Source§impl Clone for OfferEventStream
impl Clone for OfferEventStream
Source§fn clone(&self) -> OfferEventStream
fn clone(&self) -> OfferEventStream
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 OfferEventStream
impl Debug for OfferEventStream
Source§impl Encodable for OfferEventStream
impl Encodable for OfferEventStream
Source§type Encoded = WireOfferEventStream
type Encoded = WireOfferEventStream
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 OfferEventStreamwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for OfferEventStreamwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireOfferEventStream> for OfferEventStream
impl TakeFrom<WireOfferEventStream> for OfferEventStream
Source§fn take_from(from: &WireOfferEventStream) -> Self
fn take_from(from: &WireOfferEventStream) -> 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 OfferEventStream
impl RefUnwindSafe for OfferEventStream
impl Send for OfferEventStream
impl Sync for OfferEventStream
impl Unpin for OfferEventStream
impl UnwindSafe for OfferEventStream
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