pub struct ListPluginsResponse {
pub facets: ListPluginsResponseFacets,
pub limit: f64,
pub page: f64,
pub plugins: Vec<ListPluginsResponsePluginsItem>,
pub total: f64,
}Expand description
ListPluginsResponse
JSON schema
{
"type": "object",
"required": [
"facets",
"limit",
"page",
"plugins",
"total"
],
"properties": {
"facets": {
"type": "object",
"required": [
"categories",
"kinds"
],
"properties": {
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"count",
"value"
],
"properties": {
"count": {
"type": "number"
},
"value": {
"type": "string"
}
}
}
},
"kinds": {
"type": "array",
"items": {
"type": "object",
"required": [
"count",
"key",
"label"
],
"properties": {
"count": {
"type": "number"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
}
}
},
"limit": {
"type": "number"
},
"page": {
"type": "number"
},
"plugins": {
"type": "array",
"items": {
"type": "object",
"required": [
"author",
"category",
"createdAt",
"description",
"documentationUrl",
"downloads",
"extensions",
"featured",
"featuredOrder",
"homepage",
"iconUrl",
"id",
"issuesUrl",
"latestVersion",
"license",
"manifestFetchedAt",
"name",
"ownerId",
"providerInstanceId",
"repoUrl",
"screenshots",
"status",
"supportEmail",
"tags",
"updatedAt",
"verified",
"verifiedAt"
],
"properties": {
"author": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "number"
},
"description": {
"type": "string"
},
"documentationUrl": {
"type": [
"string",
"null"
]
},
"downloads": {
"type": "number"
},
"extensions": {
"type": [
"object",
"null"
]
},
"featured": {
"type": "boolean"
},
"featuredOrder": {
"type": [
"number",
"null"
]
},
"homepage": {
"type": "string"
},
"iconUrl": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"issuesUrl": {
"type": [
"string",
"null"
]
},
"latestVersion": {
"type": [
"string",
"null"
]
},
"license": {
"type": [
"string",
"null"
]
},
"manifestFetchedAt": {
"type": [
"number",
"null"
]
},
"name": {
"type": "string"
},
"ownerId": {
"type": "string"
},
"providerInstanceId": {
"type": [
"string",
"null"
]
},
"repoUrl": {
"type": "string"
},
"screenshots": {
"type": "array",
"items": {
"type": "object",
"required": [
"alt",
"caption",
"url"
],
"properties": {
"alt": {
"type": [
"string",
"null"
]
},
"caption": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
}
}
},
"status": {
"type": "string",
"enum": [
"approved",
"pending",
"rejected"
]
},
"supportEmail": {
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"updatedAt": {
"type": "number"
},
"verified": {
"type": "boolean"
},
"verifiedAt": {
"type": [
"number",
"null"
]
}
}
}
},
"total": {
"type": "number"
}
}
}Fields§
§facets: ListPluginsResponseFacets§limit: f64§page: f64§plugins: Vec<ListPluginsResponsePluginsItem>§total: f64Implementations§
Source§impl ListPluginsResponse
impl ListPluginsResponse
pub fn builder() -> ListPluginsResponse
Trait Implementations§
Source§impl Clone for ListPluginsResponse
impl Clone for ListPluginsResponse
Source§fn clone(&self) -> ListPluginsResponse
fn clone(&self) -> ListPluginsResponse
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 ListPluginsResponse
impl Debug for ListPluginsResponse
Source§impl<'de> Deserialize<'de> for ListPluginsResponse
impl<'de> Deserialize<'de> for ListPluginsResponse
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<&ListPluginsResponse> for ListPluginsResponse
impl From<&ListPluginsResponse> for ListPluginsResponse
Source§fn from(value: &ListPluginsResponse) -> Self
fn from(value: &ListPluginsResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListPluginsResponse> for ListPluginsResponse
impl From<ListPluginsResponse> for ListPluginsResponse
Source§fn from(value: ListPluginsResponse) -> Self
fn from(value: ListPluginsResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ListPluginsResponse
impl Serialize for ListPluginsResponse
Source§impl TryFrom<ListPluginsResponse> for ListPluginsResponse
impl TryFrom<ListPluginsResponse> for ListPluginsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListPluginsResponse) -> Result<Self, ConversionError>
fn try_from(value: ListPluginsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListPluginsResponse
impl RefUnwindSafe for ListPluginsResponse
impl Send for ListPluginsResponse
impl Sync for ListPluginsResponse
impl Unpin for ListPluginsResponse
impl UnsafeUnpin for ListPluginsResponse
impl UnwindSafe for ListPluginsResponse
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