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