pub struct InstallationErrorData {
pub update: Option<UpdateInfo>,
pub installation_progress: Option<InstallationProgress>,
}
Expand description
Wrapper type for fidl_fuchsia_update::InstallationErrorData
which works
with [proptest
].
Use From
(and Into
) to convert between the fidl type and this one.
Fields§
§update: Option<UpdateInfo>
§installation_progress: Option<InstallationProgress>
Trait Implementations§
Source§impl Arbitrary for InstallationErrorData
impl Arbitrary for InstallationErrorData
Source§type Parameters = (<Option<UpdateInfo> as Arbitrary>::Parameters, <Option<InstallationProgress> as Arbitrary>::Parameters)
type Parameters = (<Option<UpdateInfo> as Arbitrary>::Parameters, <Option<InstallationProgress> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = Map<(<Option<UpdateInfo> as Arbitrary>::Strategy, <Option<InstallationProgress> as Arbitrary>::Strategy), fn(_: (Option<UpdateInfo>, Option<InstallationProgress>)) -> InstallationErrorData>
type Strategy = Map<(<Option<UpdateInfo> as Arbitrary>::Strategy, <Option<InstallationProgress> as Arbitrary>::Strategy), fn(_: (Option<UpdateInfo>, Option<InstallationProgress>)) -> InstallationErrorData>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for InstallationErrorData
impl Clone for InstallationErrorData
Source§fn clone(&self) -> InstallationErrorData
fn clone(&self) -> InstallationErrorData
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 InstallationErrorData
impl Debug for InstallationErrorData
Source§impl Default for InstallationErrorData
impl Default for InstallationErrorData
Source§fn default() -> InstallationErrorData
fn default() -> InstallationErrorData
Returns the “default value” for a type. Read more
Source§impl From<InstallationErrorData> for InstallationErrorData
impl From<InstallationErrorData> for InstallationErrorData
Source§fn from(other: InstallationErrorData) -> Self
fn from(other: InstallationErrorData) -> Self
Converts to this type from the input type.
Source§impl From<InstallationErrorData> for InstallationErrorData
impl From<InstallationErrorData> for InstallationErrorData
Source§fn from(data: InstallationErrorData) -> Self
fn from(data: InstallationErrorData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstallationErrorData
impl PartialEq for InstallationErrorData
impl StructuralPartialEq for InstallationErrorData
Auto Trait Implementations§
impl Freeze for InstallationErrorData
impl RefUnwindSafe for InstallationErrorData
impl Send for InstallationErrorData
impl Sync for InstallationErrorData
impl Unpin for InstallationErrorData
impl UnwindSafe for InstallationErrorData
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
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
)