Struct RealmAddRouteFromDictionaryRequest
pub struct RealmAddRouteFromDictionaryRequest {
pub capabilities: Vec<Capability>,
pub from: Ref,
pub from_dictionary: String,
pub to: Vec<Ref>,
}
Fields§
§capabilities: Vec<Capability>
The capabilities that are to be routed.
from: Ref
The location where the elements of capabilities
are available.
from_dictionary: String
A path. If “.”, capabilities
are routed directly from from
.
Otherwise, this represents a path in a dictionary routed by from
which contains the capabilities
.
to: Vec<Ref>
The locations that should be able to access capabilities
.
Trait Implementations§
§impl Clone for RealmAddRouteFromDictionaryRequest
impl Clone for RealmAddRouteFromDictionaryRequest
§fn clone(&self) -> RealmAddRouteFromDictionaryRequest
fn clone(&self) -> RealmAddRouteFromDictionaryRequest
Returns a duplicate 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 more§impl Debug for RealmAddRouteFromDictionaryRequest
impl Debug for RealmAddRouteFromDictionaryRequest
§impl<D> Decode<RealmAddRouteFromDictionaryRequest, D> for RealmAddRouteFromDictionaryRequestwhere
D: ResourceDialect,
impl<D> Decode<RealmAddRouteFromDictionaryRequest, D> for RealmAddRouteFromDictionaryRequestwhere
D: ResourceDialect,
§fn new_empty() -> RealmAddRouteFromDictionaryRequest
fn new_empty() -> RealmAddRouteFromDictionaryRequest
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<RealmAddRouteFromDictionaryRequest, D> for &RealmAddRouteFromDictionaryRequestwhere
D: ResourceDialect,
impl<D> Encode<RealmAddRouteFromDictionaryRequest, D> for &RealmAddRouteFromDictionaryRequestwhere
D: ResourceDialect,
§impl PartialEq for RealmAddRouteFromDictionaryRequest
impl PartialEq for RealmAddRouteFromDictionaryRequest
§fn eq(&self, other: &RealmAddRouteFromDictionaryRequest) -> bool
fn eq(&self, other: &RealmAddRouteFromDictionaryRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.§impl TypeMarker for RealmAddRouteFromDictionaryRequest
impl TypeMarker for RealmAddRouteFromDictionaryRequest
§type Owned = RealmAddRouteFromDictionaryRequest
type Owned = RealmAddRouteFromDictionaryRequest
The owned Rust type which this FIDL type decodes into.
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for RealmAddRouteFromDictionaryRequest
impl ValueTypeMarker for RealmAddRouteFromDictionaryRequest
§type Borrowed<'a> = &'a RealmAddRouteFromDictionaryRequest
type Borrowed<'a> = &'a RealmAddRouteFromDictionaryRequest
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<RealmAddRouteFromDictionaryRequest as TypeMarker>::Owned,
) -> <RealmAddRouteFromDictionaryRequest as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<RealmAddRouteFromDictionaryRequest as TypeMarker>::Owned, ) -> <RealmAddRouteFromDictionaryRequest as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Persistable for RealmAddRouteFromDictionaryRequest
impl StructuralPartialEq for RealmAddRouteFromDictionaryRequest
Auto Trait Implementations§
impl Freeze for RealmAddRouteFromDictionaryRequest
impl RefUnwindSafe for RealmAddRouteFromDictionaryRequest
impl Send for RealmAddRouteFromDictionaryRequest
impl Sync for RealmAddRouteFromDictionaryRequest
impl Unpin for RealmAddRouteFromDictionaryRequest
impl UnwindSafe for RealmAddRouteFromDictionaryRequest
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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