pub struct UpdateParametersUpdate {
pub targets: Option<Vec<String>>,
pub oem: Option<OemUpdate>,
pub force_update: Option<Boolean>,
pub stage: Option<Boolean>,
pub local_image: Option<Boolean>,
pub exclude_targets: Option<Vec<String>>,
}Expand description
Update struct corresponding to UpdateParameters
Fields§
§targets: Option<Vec<String>>§oem: Option<OemUpdate>§force_update: Option<Boolean>§stage: Option<Boolean>§local_image: Option<Boolean>§exclude_targets: Option<Vec<String>>Implementations§
Source§impl UpdateParametersUpdate
impl UpdateParametersUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_targets(self, v: Vec<String>) -> Self
pub fn with_oem(self, v: OemUpdate) -> Self
pub fn with_force_update(self, v: Boolean) -> Self
pub fn with_stage(self, v: Boolean) -> Self
pub fn with_local_image(self, v: Boolean) -> Self
pub fn with_exclude_targets(self, v: Vec<String>) -> Self
Trait Implementations§
Source§impl Debug for UpdateParametersUpdate
impl Debug for UpdateParametersUpdate
Source§impl Default for UpdateParametersUpdate
impl Default for UpdateParametersUpdate
Source§fn default() -> UpdateParametersUpdate
fn default() -> UpdateParametersUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateParametersUpdate
impl RefUnwindSafe for UpdateParametersUpdate
impl Send for UpdateParametersUpdate
impl Sync for UpdateParametersUpdate
impl Unpin for UpdateParametersUpdate
impl UnsafeUnpin for UpdateParametersUpdate
impl UnwindSafe for UpdateParametersUpdate
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