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 duplicate 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 Freeze for xen_set_replication
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