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
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§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 Default for InstallationDeferredData
impl Default for InstallationDeferredData
Source§fn default() -> InstallationDeferredData
fn default() -> InstallationDeferredData
Returns the “default value” for a type. Read more
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
impl StructuralPartialEq for InstallationDeferredData
Auto Trait Implementations§
impl Freeze for InstallationDeferredData
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
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
)