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