pub struct InstallingData {
pub update: Option<UpdateInfo>,
pub installation_progress: Option<InstallationProgress>,
}
Expand description
Wrapper type for fidl_fuchsia_update::InstallingData
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 InstallingData
impl Arbitrary for InstallingData
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>)) -> InstallingData>
type Strategy = Map<(<Option<UpdateInfo> as Arbitrary>::Strategy, <Option<InstallationProgress> as Arbitrary>::Strategy), fn(_: (Option<UpdateInfo>, Option<InstallationProgress>)) -> InstallingData>
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 InstallingData
impl Clone for InstallingData
Source§fn clone(&self) -> InstallingData
fn clone(&self) -> InstallingData
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 InstallingData
impl Debug for InstallingData
Source§impl Default for InstallingData
impl Default for InstallingData
Source§fn default() -> InstallingData
fn default() -> InstallingData
Returns the “default value” for a type. Read more
Source§impl From<InstallingData> for InstallingData
impl From<InstallingData> for InstallingData
Source§fn from(other: InstallingData) -> Self
fn from(other: InstallingData) -> Self
Converts to this type from the input type.
Source§impl From<InstallingData> for InstallingData
impl From<InstallingData> for InstallingData
Source§fn from(data: InstallingData) -> Self
fn from(data: InstallingData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstallingData
impl PartialEq for InstallingData
impl StructuralPartialEq for InstallingData
Auto Trait Implementations§
impl Freeze for InstallingData
impl RefUnwindSafe for InstallingData
impl Send for InstallingData
impl Sync for InstallingData
impl Unpin for InstallingData
impl UnwindSafe for InstallingData
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
)