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