pub struct InstallationDeferredData {
pub update: Option<UpdateInfo>,
pub deferral_reason: Option<InstallationDeferralReason>,
}
Expand description
Wrapper type for fidl_fuchsia_update::InstallationDeferredData
which
works with [proptest
].
Use From
(and Into
) to convert between the fidl type and this one.
Fields§
§update: Option<UpdateInfo>
§deferral_reason: Option<InstallationDeferralReason>
Trait Implementations§
source§impl Arbitrary for InstallationDeferredData
impl Arbitrary for InstallationDeferredData
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = BoxedStrategy<InstallationDeferredData>
type Strategy = BoxedStrategy<InstallationDeferredData>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with((): Self::Parameters) -> Self::Strategy
fn arbitrary_with((): Self::Parameters) -> Self::Strategy
source§impl Clone for InstallationDeferredData
impl Clone for InstallationDeferredData
source§fn clone(&self) -> InstallationDeferredData
fn clone(&self) -> InstallationDeferredData
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 InstallationDeferredData
impl Debug for InstallationDeferredData
source§impl From<InstallationDeferredData> for InstallationDeferredData
impl From<InstallationDeferredData> for InstallationDeferredData
source§fn from(other: InstallationDeferredData) -> Self
fn from(other: InstallationDeferredData) -> Self
Converts to this type from the input type.
source§impl From<InstallationDeferredData> for InstallationDeferredData
impl From<InstallationDeferredData> for InstallationDeferredData
source§fn from(data: InstallationDeferredData) -> Self
fn from(data: InstallationDeferredData) -> Self
Converts to this type from the input type.
source§impl PartialEq for InstallationDeferredData
impl PartialEq for InstallationDeferredData
source§fn eq(&self, other: &InstallationDeferredData) -> bool
fn eq(&self, other: &InstallationDeferredData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstallationDeferredData
Auto Trait Implementations§
impl RefUnwindSafe for InstallationDeferredData
impl Send for InstallationDeferredData
impl Sync for InstallationDeferredData
impl Unpin for InstallationDeferredData
impl UnwindSafe for InstallationDeferredData
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