Struct qapi_qmp::xen_set_replication
source · pub struct xen_set_replication {
pub failover: Option<bool>,
pub enable: bool,
pub primary: bool,
}
Fields§
§failover: Option<bool>
§enable: bool
§primary: bool
Trait Implementations§
source§impl Clone for xen_set_replication
impl Clone for xen_set_replication
source§fn clone(&self) -> xen_set_replication
fn clone(&self) -> xen_set_replication
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Command for xen_set_replication
impl Command for xen_set_replication
source§impl Debug for xen_set_replication
impl Debug for xen_set_replication
source§impl<'de> Deserialize<'de> for xen_set_replication
impl<'de> Deserialize<'de> for xen_set_replication
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 Serialize for xen_set_replication
impl Serialize for xen_set_replication
impl QmpCommand for xen_set_replication
Auto Trait Implementations§
impl RefUnwindSafe for xen_set_replication
impl Send for xen_set_replication
impl Sync for xen_set_replication
impl Unpin for xen_set_replication
impl UnwindSafe for xen_set_replication
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