pub struct ListRequestsResponse {
pub limit: f64,
pub page: f64,
pub requests: Vec<ListRequestsResponseRequestsItem>,
pub total: f64,
}Expand description
ListRequestsResponse
JSON schema
{
"type": "object",
"required": [
"limit",
"page",
"requests",
"total"
],
"properties": {
"limit": {
"type": "number"
},
"page": {
"type": "number"
},
"requests": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimedByMe",
"claims",
"createdAt",
"description",
"id",
"name",
"requesterId",
"slug",
"upvotes"
],
"properties": {
"claimedByMe": {
"type": "boolean"
},
"claims": {
"type": "number"
},
"createdAt": {
"type": "number"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"requesterId": {
"type": "string"
},
"slug": {
"type": "string"
},
"upvotes": {
"type": "number"
}
}
}
},
"total": {
"type": "number"
}
}
}Fields§
§limit: f64§page: f64§requests: Vec<ListRequestsResponseRequestsItem>§total: f64Implementations§
Source§impl ListRequestsResponse
impl ListRequestsResponse
pub fn builder() -> ListRequestsResponse
Trait Implementations§
Source§impl Clone for ListRequestsResponse
impl Clone for ListRequestsResponse
Source§fn clone(&self) -> ListRequestsResponse
fn clone(&self) -> ListRequestsResponse
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 ListRequestsResponse
impl Debug for ListRequestsResponse
Source§impl<'de> Deserialize<'de> for ListRequestsResponse
impl<'de> Deserialize<'de> for ListRequestsResponse
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 From<&ListRequestsResponse> for ListRequestsResponse
impl From<&ListRequestsResponse> for ListRequestsResponse
Source§fn from(value: &ListRequestsResponse) -> Self
fn from(value: &ListRequestsResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListRequestsResponse> for ListRequestsResponse
impl From<ListRequestsResponse> for ListRequestsResponse
Source§fn from(value: ListRequestsResponse) -> Self
fn from(value: ListRequestsResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ListRequestsResponse
impl Serialize for ListRequestsResponse
Source§impl TryFrom<ListRequestsResponse> for ListRequestsResponse
impl TryFrom<ListRequestsResponse> for ListRequestsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListRequestsResponse) -> Result<Self, ConversionError>
fn try_from(value: ListRequestsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListRequestsResponse
impl RefUnwindSafe for ListRequestsResponse
impl Send for ListRequestsResponse
impl Sync for ListRequestsResponse
impl Unpin for ListRequestsResponse
impl UnsafeUnpin for ListRequestsResponse
impl UnwindSafe for ListRequestsResponse
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