pub struct InstallRequestBody {
pub authorized_devices: Option<Vec<IdRef>>,
pub license_file_uri: String,
pub password: Option<String>,
pub target_services: Option<Vec<IdRef>>,
pub transfer_protocol: Option<TransferProtocolType>,
pub username: Option<String>,
}
Expand description
This action installs one or more licenses from a remote file.
Fields§
An array of links to the devices to be authorized by the license.
license_file_uri: String
The URI of the license file to install.
password: Option<String>
The password to access the URI specified by the LicenseFileURI parameter.
target_services: Option<Vec<IdRef>>
An array of links to the managers where the license will be installed.
transfer_protocol: Option<TransferProtocolType>
§username: Option<String>
The user name to access the URI specified by the LicenseFileURI parameter.
Trait Implementations§
Source§impl Clone for InstallRequestBody
impl Clone for InstallRequestBody
Source§fn clone(&self) -> InstallRequestBody
fn clone(&self) -> InstallRequestBody
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 InstallRequestBody
impl Debug for InstallRequestBody
Source§impl Default for InstallRequestBody
impl Default for InstallRequestBody
Source§impl<'de> Deserialize<'de> for InstallRequestBody
impl<'de> Deserialize<'de> for InstallRequestBody
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 InstallRequestBody
impl Metadata<'static> for InstallRequestBody
Source§const JSON_SCHEMA: &'static str = "LicenseService.v1_1_0.json"
const JSON_SCHEMA: &'static str = "LicenseService.v1_1_0.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 InstallRequestBody
impl RefUnwindSafe for InstallRequestBody
impl Send for InstallRequestBody
impl Sync for InstallRequestBody
impl Unpin for InstallRequestBody
impl UnwindSafe for InstallRequestBody
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