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
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 = 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(other: InstallationProgress) -> Self
fn from(other: InstallationProgress) -> Self
Converts to this type from the input type.
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 PartialEq for InstallationProgress
impl PartialEq for InstallationProgress
impl StructuralPartialEq for InstallationProgress
Auto Trait Implementations§
impl Freeze for InstallationProgress
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
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
)