pub struct CrashReportingProduct {
pub name: Option<String>,
pub version: Option<String>,
pub channel: Option<String>,
/* private fields */
}
Expand description
Product information to report to the crash server.
Fields§
§name: Option<String>
The product name on the crash server.
- The first character has to be alphanumeric. The remaining characters must be printable, but cannot be a space, which leaves values 33 to 127 in the ASCII table. Any other characters will result in a ZX_ERR_INVALID_ARGS epitaph.
- Missing this required field will result in a ZX_ERR_INVALID_ARGS epitaph.
version: Option<String>
Optional product version of the component.
- The first character has to be alphanumeric. The remaining characters must be printable, but cannot be a space, which leaves values 33 to 127 in the ASCII table. Any other characters will result in a ZX_ERR_INVALID_ARGS epitaph.
If no version is specified then none is reported to the crash server.
channel: Option<String>
Optional product release channel for the component, e.g., “canary”, “beta”, “stable”.
If no channel is specified then none is reported to the crash server.
Trait Implementations§
source§impl Clone for CrashReportingProduct
impl Clone for CrashReportingProduct
source§fn clone(&self) -> CrashReportingProduct
fn clone(&self) -> CrashReportingProduct
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 CrashReportingProduct
impl Debug for CrashReportingProduct
source§impl<D: ResourceDialect> Decode<CrashReportingProduct, D> for CrashReportingProduct
impl<D: ResourceDialect> Decode<CrashReportingProduct, D> for CrashReportingProduct
source§impl Default for CrashReportingProduct
impl Default for CrashReportingProduct
source§fn default() -> CrashReportingProduct
fn default() -> CrashReportingProduct
Returns the “default value” for a type. Read more
source§impl<D: ResourceDialect> Encode<CrashReportingProduct, D> for &CrashReportingProduct
impl<D: ResourceDialect> Encode<CrashReportingProduct, D> for &CrashReportingProduct
source§impl PartialEq for CrashReportingProduct
impl PartialEq for CrashReportingProduct
source§fn eq(&self, other: &CrashReportingProduct) -> bool
fn eq(&self, other: &CrashReportingProduct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for CrashReportingProduct
impl TypeMarker for CrashReportingProduct
§type Owned = CrashReportingProduct
type Owned = CrashReportingProduct
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 CrashReportingProduct
impl ValueTypeMarker for CrashReportingProduct
§type Borrowed<'a> = &'a CrashReportingProduct
type Borrowed<'a> = &'a CrashReportingProduct
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 CrashReportingProduct
impl StructuralPartialEq for CrashReportingProduct
Auto Trait Implementations§
impl Freeze for CrashReportingProduct
impl RefUnwindSafe for CrashReportingProduct
impl Send for CrashReportingProduct
impl Sync for CrashReportingProduct
impl Unpin for CrashReportingProduct
impl UnwindSafe for CrashReportingProduct
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)