pub struct LxcGetRulesResponse {
pub data: Vec<ClusterFirewallGetRulesResponseDataInner>,
pub total: Option<i32>,
pub changes: Option<Value>,
}Fields§
§data: Vec<ClusterFirewallGetRulesResponseDataInner>§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 LxcGetRulesResponse
impl LxcGetRulesResponse
pub fn new( data: Vec<ClusterFirewallGetRulesResponseDataInner>, ) -> LxcGetRulesResponse
Trait Implementations§
Source§impl Clone for LxcGetRulesResponse
impl Clone for LxcGetRulesResponse
Source§fn clone(&self) -> LxcGetRulesResponse
fn clone(&self) -> LxcGetRulesResponse
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 LxcGetRulesResponse
impl Debug for LxcGetRulesResponse
Source§impl Default for LxcGetRulesResponse
impl Default for LxcGetRulesResponse
Source§fn default() -> LxcGetRulesResponse
fn default() -> LxcGetRulesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LxcGetRulesResponse
impl<'de> Deserialize<'de> for LxcGetRulesResponse
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 LxcGetRulesResponse
impl PartialEq for LxcGetRulesResponse
Source§fn eq(&self, other: &LxcGetRulesResponse) -> bool
fn eq(&self, other: &LxcGetRulesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LxcGetRulesResponse
impl Serialize for LxcGetRulesResponse
impl StructuralPartialEq for LxcGetRulesResponse
Auto Trait Implementations§
impl Freeze for LxcGetRulesResponse
impl RefUnwindSafe for LxcGetRulesResponse
impl Send for LxcGetRulesResponse
impl Sync for LxcGetRulesResponse
impl Unpin for LxcGetRulesResponse
impl UnsafeUnpin for LxcGetRulesResponse
impl UnwindSafe for LxcGetRulesResponse
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