pub struct DevicePostureBuilder { /* private fields */ }Expand description
Builder for DevicePosture.
Implementations§
Source§impl DevicePostureBuilder
impl DevicePostureBuilder
Sourcepub fn type<VALUE: Into<DevicePostureType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn type<VALUE: Into<DevicePostureType>>( &mut self, value: VALUE, ) -> &mut Self
Current posture of the device
Sourcepub fn build(&self) -> Result<DevicePosture, DevicePostureBuilderError>
pub fn build(&self) -> Result<DevicePosture, DevicePostureBuilderError>
Trait Implementations§
Source§impl Clone for DevicePostureBuilder
impl Clone for DevicePostureBuilder
Source§fn clone(&self) -> DevicePostureBuilder
fn clone(&self) -> DevicePostureBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DevicePostureBuilder
impl RefUnwindSafe for DevicePostureBuilder
impl Send for DevicePostureBuilder
impl Sync for DevicePostureBuilder
impl Unpin for DevicePostureBuilder
impl UnsafeUnpin for DevicePostureBuilder
impl UnwindSafe for DevicePostureBuilder
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