pub struct TemplateUpdateResponse {
pub new_version: Option<String>,
pub previous_version: Option<String>,
pub template: Option<TemplateResponse>,
pub updated: bool,
}Expand description
Response for template update from marketplace.
JSON schema
{
"title": "TemplateUpdateResponse",
"description": "Response for template update from marketplace.",
"type": "object",
"required": [
"new_version",
"previous_version",
"updated"
],
"properties": {
"new_version": {
"title": "New Version",
"type": [
"string",
"null"
]
},
"previous_version": {
"title": "Previous Version",
"type": [
"string",
"null"
]
},
"template": {
"$ref": "#/components/schemas/TemplateResponse"
},
"updated": {
"title": "Updated",
"type": "boolean"
}
}
}Fields§
§new_version: Option<String>§previous_version: Option<String>§template: Option<TemplateResponse>§updated: boolTrait Implementations§
Source§impl Clone for TemplateUpdateResponse
impl Clone for TemplateUpdateResponse
Source§fn clone(&self) -> TemplateUpdateResponse
fn clone(&self) -> TemplateUpdateResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 TemplateUpdateResponse
impl Debug for TemplateUpdateResponse
Source§impl<'de> Deserialize<'de> for TemplateUpdateResponse
impl<'de> Deserialize<'de> for TemplateUpdateResponse
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<&TemplateUpdateResponse> for TemplateUpdateResponse
impl From<&TemplateUpdateResponse> for TemplateUpdateResponse
Source§fn from(value: &TemplateUpdateResponse) -> Self
fn from(value: &TemplateUpdateResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TemplateUpdateResponse
impl RefUnwindSafe for TemplateUpdateResponse
impl Send for TemplateUpdateResponse
impl Sync for TemplateUpdateResponse
impl Unpin for TemplateUpdateResponse
impl UnsafeUnpin for TemplateUpdateResponse
impl UnwindSafe for TemplateUpdateResponse
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