pub struct CountResponse {
pub data: i64,
}Expand description
Response wrapper for count endpoints.
JSON schema
{
"description": "Response wrapper for count endpoints.",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"description": "Count value.",
"type": "integer",
"format": "int64"
}
}
}Fields§
§data: i64Count value.
Trait Implementations§
Source§impl Clone for CountResponse
impl Clone for CountResponse
Source§fn clone(&self) -> CountResponse
fn clone(&self) -> CountResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 CountResponse
impl Debug for CountResponse
Source§impl<'de> Deserialize<'de> for CountResponse
impl<'de> Deserialize<'de> for CountResponse
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
Auto Trait Implementations§
impl Freeze for CountResponse
impl RefUnwindSafe for CountResponse
impl Send for CountResponse
impl Sync for CountResponse
impl Unpin for CountResponse
impl UnsafeUnpin for CountResponse
impl UnwindSafe for CountResponse
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