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