pub struct LxcCreateRuleResponse {
pub data: Option<Value>,
pub total: Option<i32>,
pub changes: Option<Value>,
}Fields§
§data: Option<Value>§total: Option<i32>Optional total count, present for paginated list responses.
changes: Option<Value>Optional change summary returned by some PUT operations (one entry per modified field).
Implementations§
Source§impl LxcCreateRuleResponse
impl LxcCreateRuleResponse
pub fn new(data: Option<Value>) -> LxcCreateRuleResponse
Trait Implementations§
Source§impl Clone for LxcCreateRuleResponse
impl Clone for LxcCreateRuleResponse
Source§fn clone(&self) -> LxcCreateRuleResponse
fn clone(&self) -> LxcCreateRuleResponse
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 LxcCreateRuleResponse
impl Debug for LxcCreateRuleResponse
Source§impl Default for LxcCreateRuleResponse
impl Default for LxcCreateRuleResponse
Source§fn default() -> LxcCreateRuleResponse
fn default() -> LxcCreateRuleResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LxcCreateRuleResponse
impl<'de> Deserialize<'de> for LxcCreateRuleResponse
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 LxcCreateRuleResponse
impl PartialEq for LxcCreateRuleResponse
Source§fn eq(&self, other: &LxcCreateRuleResponse) -> bool
fn eq(&self, other: &LxcCreateRuleResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LxcCreateRuleResponse
impl Serialize for LxcCreateRuleResponse
impl StructuralPartialEq for LxcCreateRuleResponse
Auto Trait Implementations§
impl Freeze for LxcCreateRuleResponse
impl RefUnwindSafe for LxcCreateRuleResponse
impl Send for LxcCreateRuleResponse
impl Sync for LxcCreateRuleResponse
impl Unpin for LxcCreateRuleResponse
impl UnsafeUnpin for LxcCreateRuleResponse
impl UnwindSafe for LxcCreateRuleResponse
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