pub struct AdminListPluginsResponse {
pub plugins: Vec<AdminListPluginsResponsePluginsItem>,
pub total: f64,
}Expand description
AdminListPluginsResponse
JSON schema
{
"type": "object",
"required": [
"plugins",
"total"
],
"properties": {
"plugins": {
"type": "array",
"items": {
"type": "object",
"required": [
"category",
"createdAt",
"description",
"featured",
"featuredOrder",
"id",
"latestVersion",
"manifestFetchedAt",
"name",
"ownerId",
"rejectionReason",
"repoUrl",
"status",
"updatedAt",
"verified",
"verifiedAt",
"verifiedBy"
],
"properties": {
"category": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "number"
},
"description": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"featuredOrder": {
"type": [
"number",
"null"
]
},
"id": {
"type": "string"
},
"latestVersion": {
"type": [
"string",
"null"
]
},
"manifestFetchedAt": {
"type": [
"number",
"null"
]
},
"name": {
"type": "string"
},
"ownerId": {
"type": "string"
},
"rejectionReason": {
"type": [
"string",
"null"
]
},
"repoUrl": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"approved",
"pending",
"rejected"
]
},
"updatedAt": {
"type": "number"
},
"verified": {
"type": "boolean"
},
"verifiedAt": {
"type": [
"number",
"null"
]
},
"verifiedBy": {
"type": [
"string",
"null"
]
}
}
}
},
"total": {
"type": "number"
}
}
}Fields§
§plugins: Vec<AdminListPluginsResponsePluginsItem>§total: f64Implementations§
Source§impl AdminListPluginsResponse
impl AdminListPluginsResponse
pub fn builder() -> AdminListPluginsResponse
Trait Implementations§
Source§impl Clone for AdminListPluginsResponse
impl Clone for AdminListPluginsResponse
Source§fn clone(&self) -> AdminListPluginsResponse
fn clone(&self) -> AdminListPluginsResponse
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 AdminListPluginsResponse
impl Debug for AdminListPluginsResponse
Source§impl<'de> Deserialize<'de> for AdminListPluginsResponse
impl<'de> Deserialize<'de> for AdminListPluginsResponse
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<&AdminListPluginsResponse> for AdminListPluginsResponse
impl From<&AdminListPluginsResponse> for AdminListPluginsResponse
Source§fn from(value: &AdminListPluginsResponse) -> Self
fn from(value: &AdminListPluginsResponse) -> Self
Converts to this type from the input type.
Source§impl From<AdminListPluginsResponse> for AdminListPluginsResponse
impl From<AdminListPluginsResponse> for AdminListPluginsResponse
Source§fn from(value: AdminListPluginsResponse) -> Self
fn from(value: AdminListPluginsResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for AdminListPluginsResponse
impl Serialize for AdminListPluginsResponse
Source§impl TryFrom<AdminListPluginsResponse> for AdminListPluginsResponse
impl TryFrom<AdminListPluginsResponse> for AdminListPluginsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminListPluginsResponse) -> Result<Self, ConversionError>
fn try_from(value: AdminListPluginsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminListPluginsResponse
impl RefUnwindSafe for AdminListPluginsResponse
impl Send for AdminListPluginsResponse
impl Sync for AdminListPluginsResponse
impl Unpin for AdminListPluginsResponse
impl UnsafeUnpin for AdminListPluginsResponse
impl UnwindSafe for AdminListPluginsResponse
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