pub struct AssignReplicaTargetRequestBody {
pub replica_type: ReplicaType,
pub replica_update_mode: ReplicaUpdateMode,
pub target_volume: String,
}
Expand description
This action is used to establish a replication relationship by assigning an existing volume to serve as a target replica for an existing source volume.
Fields§
§replica_type: ReplicaType
§replica_update_mode: ReplicaUpdateMode
§target_volume: String
The Uri to the existing target volume.
Trait Implementations§
Source§impl Clone for AssignReplicaTargetRequestBody
impl Clone for AssignReplicaTargetRequestBody
Source§fn clone(&self) -> AssignReplicaTargetRequestBody
fn clone(&self) -> AssignReplicaTargetRequestBody
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<'de> Deserialize<'de> for AssignReplicaTargetRequestBody
impl<'de> Deserialize<'de> for AssignReplicaTargetRequestBody
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 AssignReplicaTargetRequestBody
impl Metadata<'static> for AssignReplicaTargetRequestBody
Source§const JSON_SCHEMA: &'static str = "Volume.v1_9_0.json"
const JSON_SCHEMA: &'static str = "Volume.v1_9_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 AssignReplicaTargetRequestBody
impl RefUnwindSafe for AssignReplicaTargetRequestBody
impl Send for AssignReplicaTargetRequestBody
impl Sync for AssignReplicaTargetRequestBody
impl Unpin for AssignReplicaTargetRequestBody
impl UnwindSafe for AssignReplicaTargetRequestBody
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