pub struct GetPluginResponse {Show 31 fields
pub author: String,
pub category: Option<String>,
pub created_at: f64,
pub description: String,
pub documentation_url: Option<String>,
pub downloads: f64,
pub extensions: Option<Map<String, Value>>,
pub featured: bool,
pub featured_order: Option<f64>,
pub homepage: String,
pub icon_url: Option<String>,
pub id: String,
pub issues_url: Option<String>,
pub latest_version: Option<String>,
pub license: Option<String>,
pub manifest_fetched_at: Option<f64>,
pub name: String,
pub owner_id: String,
pub provider_instance_id: Option<String>,
pub readme_available_locales: Vec<String>,
pub readme_html: Option<String>,
pub readme_locale: Option<String>,
pub releases: Vec<GetPluginResponseReleasesItem>,
pub repo_url: String,
pub screenshots: Vec<GetPluginResponseScreenshotsItem>,
pub status: GetPluginResponseStatus,
pub support_email: Option<String>,
pub tags: Vec<String>,
pub updated_at: f64,
pub verified: bool,
pub verified_at: Option<f64>,
}Expand description
GetPluginResponse
JSON schema
{
"type": "object",
"required": [
"author",
"category",
"createdAt",
"description",
"documentationUrl",
"downloads",
"extensions",
"featured",
"featuredOrder",
"homepage",
"iconUrl",
"id",
"issuesUrl",
"latestVersion",
"license",
"manifestFetchedAt",
"name",
"ownerId",
"providerInstanceId",
"readmeAvailableLocales",
"readmeHtml",
"readmeLocale",
"releases",
"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"
]
},
"readmeAvailableLocales": {
"type": "array",
"items": {
"type": "string"
}
},
"readmeHtml": {
"type": [
"string",
"null"
]
},
"readmeLocale": {
"type": [
"string",
"null"
]
},
"releases": {
"type": "array",
"items": {
"type": "object",
"required": [
"assets",
"createdAt",
"id",
"integrity",
"minRuntimeVersion",
"pluginId",
"version"
],
"properties": {
"assets": {
"type": "object"
},
"createdAt": {
"type": "number"
},
"id": {
"type": "string"
},
"integrity": {
"type": [
"object",
"null"
],
"required": [
"assets",
"jws"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"attestation_bundle",
"name",
"sha256",
"size"
],
"properties": {
"attestation_bundle": {},
"name": {
"type": "string"
},
"sha256": {
"type": "string"
},
"size": {
"type": "number"
}
}
}
},
"jws": {
"type": "string"
}
}
},
"minRuntimeVersion": {
"type": [
"string",
"null"
]
},
"pluginId": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
},
"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"
]
}
}
}Fields§
§category: Option<String>§created_at: f64§description: String§documentation_url: Option<String>§downloads: f64§extensions: Option<Map<String, Value>>§featured: bool§featured_order: Option<f64>§homepage: String§icon_url: Option<String>§id: String§issues_url: Option<String>§latest_version: Option<String>§license: Option<String>§manifest_fetched_at: Option<f64>§name: String§owner_id: String§provider_instance_id: Option<String>§readme_available_locales: Vec<String>§readme_html: Option<String>§readme_locale: Option<String>§releases: Vec<GetPluginResponseReleasesItem>§repo_url: String§screenshots: Vec<GetPluginResponseScreenshotsItem>§status: GetPluginResponseStatus§support_email: Option<String>§updated_at: f64§verified: bool§verified_at: Option<f64>Implementations§
Source§impl GetPluginResponse
impl GetPluginResponse
pub fn builder() -> GetPluginResponse
Trait Implementations§
Source§impl Clone for GetPluginResponse
impl Clone for GetPluginResponse
Source§fn clone(&self) -> GetPluginResponse
fn clone(&self) -> GetPluginResponse
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 GetPluginResponse
impl Debug for GetPluginResponse
Source§impl<'de> Deserialize<'de> for GetPluginResponse
impl<'de> Deserialize<'de> for GetPluginResponse
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<&GetPluginResponse> for GetPluginResponse
impl From<&GetPluginResponse> for GetPluginResponse
Source§fn from(value: &GetPluginResponse) -> Self
fn from(value: &GetPluginResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetPluginResponse> for GetPluginResponse
impl From<GetPluginResponse> for GetPluginResponse
Source§fn from(value: GetPluginResponse) -> Self
fn from(value: GetPluginResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetPluginResponse
impl Serialize for GetPluginResponse
Source§impl TryFrom<GetPluginResponse> for GetPluginResponse
impl TryFrom<GetPluginResponse> for GetPluginResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetPluginResponse) -> Result<Self, ConversionError>
fn try_from(value: GetPluginResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetPluginResponse
impl RefUnwindSafe for GetPluginResponse
impl Send for GetPluginResponse
impl Sync for GetPluginResponse
impl Unpin for GetPluginResponse
impl UnsafeUnpin for GetPluginResponse
impl UnwindSafe for GetPluginResponse
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