pub struct ExposeDictionary {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub target: Option<Ref>,
pub target_name: Option<String>,
pub availability: Option<Availability>,
pub source_dictionary: Option<String>,
}
Expand description
Declares a dictionary exposed to a component’s containing realm, such as a dictionary exposed by the component or one of its children at runtime.
To learn more about dictionarys, see: https://fuchsia.dev/fuchsia-src/glossary#dictionary
Fields§
§source: Option<Ref>
§source_name: Option<String>
§target: Option<Ref>
§target_name: Option<String>
§availability: Option<Availability>
§source_dictionary: Option<String>
Trait Implementations§
Source§impl Clone for ExposeDictionary
impl Clone for ExposeDictionary
Source§fn clone(&self) -> ExposeDictionary
fn clone(&self) -> ExposeDictionary
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 ExposeDictionary
impl Debug for ExposeDictionary
Source§impl Encodable for ExposeDictionary
impl Encodable for ExposeDictionary
Source§type Encoded = WireExposeDictionary
type Encoded = WireExposeDictionary
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 ExposeDictionarywhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for ExposeDictionarywhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireExposeDictionary> for ExposeDictionary
impl TakeFrom<WireExposeDictionary> for ExposeDictionary
Source§fn take_from(from: &WireExposeDictionary) -> Self
fn take_from(from: &WireExposeDictionary) -> 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 ExposeDictionary
impl RefUnwindSafe for ExposeDictionary
impl Send for ExposeDictionary
impl Sync for ExposeDictionary
impl Unpin for ExposeDictionary
impl UnwindSafe for ExposeDictionary
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