pub struct InsertMediaRequestBody {
pub image: String,
pub inserted: Option<bool>,
pub password: Option<String>,
pub transfer_method: Option<TransferMethod>,
pub transfer_protocol_type: Option<TransferProtocolType>,
pub user_name: Option<String>,
pub write_protected: Option<bool>,
}
Expand description
This action attaches remote media to virtual media.
Fields§
§image: String
The URI of the media to attach to the virtual media.
inserted: Option<bool>
An indication of whether the image is treated as inserted upon completion of the action. The default is true
.
password: Option<String>
The password to access the URI specified by the Image parameter.
transfer_method: Option<TransferMethod>
§transfer_protocol_type: Option<TransferProtocolType>
§user_name: Option<String>
The username to access the URI specified by the Image parameter.
write_protected: Option<bool>
An indication of whether the remote media is treated as write-protected. The default is true
.
Trait Implementations§
Source§impl Clone for InsertMediaRequestBody
impl Clone for InsertMediaRequestBody
Source§fn clone(&self) -> InsertMediaRequestBody
fn clone(&self) -> InsertMediaRequestBody
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 InsertMediaRequestBody
impl Debug for InsertMediaRequestBody
Source§impl Default for InsertMediaRequestBody
impl Default for InsertMediaRequestBody
Source§impl<'de> Deserialize<'de> for InsertMediaRequestBody
impl<'de> Deserialize<'de> for InsertMediaRequestBody
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 InsertMediaRequestBody
impl Metadata<'static> for InsertMediaRequestBody
Source§const JSON_SCHEMA: &'static str = "VirtualMedia.v1_6_1.json"
const JSON_SCHEMA: &'static str = "VirtualMedia.v1_6_1.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 InsertMediaRequestBody
impl RefUnwindSafe for InsertMediaRequestBody
impl Send for InsertMediaRequestBody
impl Sync for InsertMediaRequestBody
impl Unpin for InsertMediaRequestBody
impl UnwindSafe for InsertMediaRequestBody
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