pub struct CheckOptions {
pub initiator: Initiator,
pub allow_attaching_to_existing_update_check: bool,
}
Expand description
Wrapper type for fidl_fuchsia_update::CheckOptions
which validates the
options on construction and works with [proptest
].
Use TryFrom
(or TryInto
) to convert the fidl type and this one, and
From
(or Into
) to convert back to the fidl type.
Fields§
§initiator: Initiator
§allow_attaching_to_existing_update_check: bool
Implementations§
Source§impl CheckOptions
impl CheckOptions
Trait Implementations§
Source§impl Arbitrary for CheckOptions
impl Arbitrary for CheckOptions
Source§type Parameters = (<Initiator as Arbitrary>::Parameters, <bool as Arbitrary>::Parameters)
type Parameters = (<Initiator as Arbitrary>::Parameters, <bool 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<(<Initiator as Arbitrary>::Strategy, <bool as Arbitrary>::Strategy), fn(_: (Initiator, bool)) -> CheckOptions>
type Strategy = Map<(<Initiator as Arbitrary>::Strategy, <bool as Arbitrary>::Strategy), fn(_: (Initiator, bool)) -> CheckOptions>
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 CheckOptions
impl Clone for CheckOptions
Source§fn clone(&self) -> CheckOptions
fn clone(&self) -> CheckOptions
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 CheckOptions
impl Debug for CheckOptions
Source§impl From<CheckOptions> for AttemptOptions
impl From<CheckOptions> for AttemptOptions
Source§fn from(o: CheckOptions) -> Self
fn from(o: CheckOptions) -> Self
Converts to this type from the input type.
Source§impl From<CheckOptions> for CheckOptions
impl From<CheckOptions> for CheckOptions
Source§fn from(o: CheckOptions) -> Self
fn from(o: CheckOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CheckOptions
impl PartialEq for CheckOptions
Source§impl TryFrom<CheckOptions> for CheckOptions
impl TryFrom<CheckOptions> for CheckOptions
Source§type Error = CheckOptionsDecodeError
type Error = CheckOptionsDecodeError
The type returned in the event of a conversion error.
impl StructuralPartialEq for CheckOptions
Auto Trait Implementations§
impl Freeze for CheckOptions
impl RefUnwindSafe for CheckOptions
impl Send for CheckOptions
impl Sync for CheckOptions
impl Unpin for CheckOptions
impl UnwindSafe for CheckOptions
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
)