pub struct SubmitPreviewResponseVariant0Preview {Show 13 fields
pub category: Option<String>,
pub description: Option<String>,
pub documentation_url: Option<String>,
pub homepage: Option<String>,
pub icon: Option<String>,
pub kind: Option<String>,
pub license: Option<String>,
pub min_runtime_version: Option<String>,
pub name: Option<String>,
pub readme_locales: Vec<String>,
pub screenshots: Vec<SubmitPreviewResponseVariant0PreviewScreenshotsItem>,
pub source: String,
pub tags: Vec<String>,
}Expand description
SubmitPreviewResponseVariant0Preview
JSON schema
{
"type": "object",
"required": [
"category",
"description",
"documentationUrl",
"homepage",
"icon",
"kind",
"license",
"minRuntimeVersion",
"name",
"readmeLocales",
"screenshots",
"source",
"tags"
],
"properties": {
"category": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"documentationUrl": {
"type": [
"string",
"null"
]
},
"homepage": {
"type": [
"string",
"null"
]
},
"icon": {
"type": [
"string",
"null"
]
},
"kind": {
"type": [
"string",
"null"
]
},
"license": {
"type": [
"string",
"null"
]
},
"minRuntimeVersion": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"readmeLocales": {
"type": "array",
"items": {
"type": "string"
}
},
"screenshots": {
"type": "array",
"items": {
"type": "object",
"required": [
"alt",
"caption",
"url"
],
"properties": {
"alt": {
"type": [
"string",
"null"
]
},
"caption": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
}
}
},
"source": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§category: Option<String>§description: Option<String>§documentation_url: Option<String>§homepage: Option<String>§icon: Option<String>§kind: Option<String>§license: Option<String>§min_runtime_version: Option<String>§name: Option<String>§readme_locales: Vec<String>§screenshots: Vec<SubmitPreviewResponseVariant0PreviewScreenshotsItem>§source: StringImplementations§
Trait Implementations§
Source§impl Clone for SubmitPreviewResponseVariant0Preview
impl Clone for SubmitPreviewResponseVariant0Preview
Source§fn clone(&self) -> SubmitPreviewResponseVariant0Preview
fn clone(&self) -> SubmitPreviewResponseVariant0Preview
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<'de> Deserialize<'de> for SubmitPreviewResponseVariant0Preview
impl<'de> Deserialize<'de> for SubmitPreviewResponseVariant0Preview
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<&SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
impl From<&SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
Source§fn from(value: &SubmitPreviewResponseVariant0Preview) -> Self
fn from(value: &SubmitPreviewResponseVariant0Preview) -> Self
Converts to this type from the input type.
Source§impl From<SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
impl From<SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
Source§fn from(value: SubmitPreviewResponseVariant0Preview) -> Self
fn from(value: SubmitPreviewResponseVariant0Preview) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
impl TryFrom<SubmitPreviewResponseVariant0Preview> for SubmitPreviewResponseVariant0Preview
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SubmitPreviewResponseVariant0Preview,
) -> Result<Self, ConversionError>
fn try_from( value: SubmitPreviewResponseVariant0Preview, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubmitPreviewResponseVariant0Preview
impl RefUnwindSafe for SubmitPreviewResponseVariant0Preview
impl Send for SubmitPreviewResponseVariant0Preview
impl Sync for SubmitPreviewResponseVariant0Preview
impl Unpin for SubmitPreviewResponseVariant0Preview
impl UnsafeUnpin for SubmitPreviewResponseVariant0Preview
impl UnwindSafe for SubmitPreviewResponseVariant0Preview
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