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