pub struct DebugRegistrationAllowlistEntry {
pub name: Option<String>,
pub debug: Option<AllowlistedDebugRegistration>,
pub moniker: Option<String>,
pub environment_name: Option<String>,
/* private fields */
}
Expand description
Defines a capability policy entry in the set of debug capability policy allowlists.
Fields§
§name: Option<String>
The name of the capability as it’s registered in the environment.
debug: Option<AllowlistedDebugRegistration>
Represents the type of capability that is being restricted along with any other properties required by a particular capability type.
moniker: Option<String>
The moniker of the component which is allowed to register this capability in its environment’s debug sction.
environment_name: Option<String>
Name of the environment where this capability can be registered.
Trait Implementations§
Source§impl Clone for DebugRegistrationAllowlistEntry
impl Clone for DebugRegistrationAllowlistEntry
Source§fn clone(&self) -> DebugRegistrationAllowlistEntry
fn clone(&self) -> DebugRegistrationAllowlistEntry
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<D: ResourceDialect> Decode<DebugRegistrationAllowlistEntry, D> for DebugRegistrationAllowlistEntry
impl<D: ResourceDialect> Decode<DebugRegistrationAllowlistEntry, D> for DebugRegistrationAllowlistEntry
Source§impl Default for DebugRegistrationAllowlistEntry
impl Default for DebugRegistrationAllowlistEntry
Source§fn default() -> DebugRegistrationAllowlistEntry
fn default() -> DebugRegistrationAllowlistEntry
Returns the “default value” for a type. Read more
Source§impl<D: ResourceDialect> Encode<DebugRegistrationAllowlistEntry, D> for &DebugRegistrationAllowlistEntry
impl<D: ResourceDialect> Encode<DebugRegistrationAllowlistEntry, D> for &DebugRegistrationAllowlistEntry
Source§impl PartialEq for DebugRegistrationAllowlistEntry
impl PartialEq for DebugRegistrationAllowlistEntry
Source§fn eq(&self, other: &DebugRegistrationAllowlistEntry) -> bool
fn eq(&self, other: &DebugRegistrationAllowlistEntry) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TypeMarker for DebugRegistrationAllowlistEntry
impl TypeMarker for DebugRegistrationAllowlistEntry
Source§type Owned = DebugRegistrationAllowlistEntry
type Owned = DebugRegistrationAllowlistEntry
The owned Rust type which this FIDL type decodes into.
Source§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.
Source§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.Source§impl ValueTypeMarker for DebugRegistrationAllowlistEntry
impl ValueTypeMarker for DebugRegistrationAllowlistEntry
Source§type Borrowed<'a> = &'a DebugRegistrationAllowlistEntry
type Borrowed<'a> = &'a DebugRegistrationAllowlistEntry
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for DebugRegistrationAllowlistEntry
impl StructuralPartialEq for DebugRegistrationAllowlistEntry
Auto Trait Implementations§
impl Freeze for DebugRegistrationAllowlistEntry
impl RefUnwindSafe for DebugRegistrationAllowlistEntry
impl Send for DebugRegistrationAllowlistEntry
impl Sync for DebugRegistrationAllowlistEntry
impl Unpin for DebugRegistrationAllowlistEntry
impl UnwindSafe for DebugRegistrationAllowlistEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)