pub struct LxcSnapshotRequest {
pub description: Option<String>,
pub snapname: String,
}Fields§
§description: Option<String>A textual description or comment.
snapname: StringThe name of the snapshot.
Implementations§
Source§impl LxcSnapshotRequest
impl LxcSnapshotRequest
pub fn new(snapname: String) -> LxcSnapshotRequest
Trait Implementations§
Source§impl Clone for LxcSnapshotRequest
impl Clone for LxcSnapshotRequest
Source§fn clone(&self) -> LxcSnapshotRequest
fn clone(&self) -> LxcSnapshotRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LxcSnapshotRequest
impl Debug for LxcSnapshotRequest
Source§impl Default for LxcSnapshotRequest
impl Default for LxcSnapshotRequest
Source§fn default() -> LxcSnapshotRequest
fn default() -> LxcSnapshotRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LxcSnapshotRequest
impl<'de> Deserialize<'de> for LxcSnapshotRequest
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 PartialEq for LxcSnapshotRequest
impl PartialEq for LxcSnapshotRequest
Source§fn eq(&self, other: &LxcSnapshotRequest) -> bool
fn eq(&self, other: &LxcSnapshotRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LxcSnapshotRequest
impl Serialize for LxcSnapshotRequest
impl StructuralPartialEq for LxcSnapshotRequest
Auto Trait Implementations§
impl Freeze for LxcSnapshotRequest
impl RefUnwindSafe for LxcSnapshotRequest
impl Send for LxcSnapshotRequest
impl Sync for LxcSnapshotRequest
impl Unpin for LxcSnapshotRequest
impl UnsafeUnpin for LxcSnapshotRequest
impl UnwindSafe for LxcSnapshotRequest
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