pub struct SimpleUpdateRequestBody {
pub force_update: Option<bool>,
pub image_uri: String,
pub password: Option<String>,
pub targets: Option<Vec<String>>,
pub transfer_protocol: Option<TransferProtocolType>,
pub username: Option<String>,
}
Expand description
This action updates software components.
Fields§
§force_update: Option<bool>
An indication of whether the service should bypass update policies when applying the provided image. The default is false
.
image_uri: String
The URI of the software image to install.
password: Option<String>
The password to access the URI specified by the ImageURI parameter.
targets: Option<Vec<String>>
An array of URIs that indicate where to apply the update image.
transfer_protocol: Option<TransferProtocolType>
§username: Option<String>
The user name to access the URI specified by the ImageURI parameter.
Trait Implementations§
Source§impl Clone for SimpleUpdateRequestBody
impl Clone for SimpleUpdateRequestBody
Source§fn clone(&self) -> SimpleUpdateRequestBody
fn clone(&self) -> SimpleUpdateRequestBody
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpleUpdateRequestBody
impl Debug for SimpleUpdateRequestBody
Source§impl Default for SimpleUpdateRequestBody
impl Default for SimpleUpdateRequestBody
Source§impl<'de> Deserialize<'de> for SimpleUpdateRequestBody
impl<'de> Deserialize<'de> for SimpleUpdateRequestBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for SimpleUpdateRequestBody
impl Metadata<'static> for SimpleUpdateRequestBody
Source§const JSON_SCHEMA: &'static str = "UpdateService.v1_11_3.json"
const JSON_SCHEMA: &'static str = "UpdateService.v1_11_3.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SimpleUpdateRequestBody
impl RefUnwindSafe for SimpleUpdateRequestBody
impl Send for SimpleUpdateRequestBody
impl Sync for SimpleUpdateRequestBody
impl Unpin for SimpleUpdateRequestBody
impl UnwindSafe for SimpleUpdateRequestBody
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