pub struct UpdateInformation {
pub instructions_url: String,
pub is_latest_version: bool,
pub latest_version: String,
pub remind_schedule: DisplaySchedule,
}
Expand description
UpdateInformation
JSON schema
{
"type": "object",
"required": [
"instructions_url",
"is_latest_version",
"latest_version",
"remind_schedule"
],
"properties": {
"instructions_url": {
"description": "URL that navigates the user to instructions on how to update their deployment's version",
"type": "string"
},
"is_latest_version": {
"description": "Whether the current version matches the latest version",
"type": "boolean"
},
"latest_version": {
"description": "Latest version corresponding to the edition",
"type": "string"
},
"remind_schedule": {
"$ref": "#/components/schemas/DisplaySchedule"
}
}
}
Fields§
§instructions_url: String
URL that navigates the user to instructions on how to update their deployment’s version
is_latest_version: bool
Whether the current version matches the latest version
latest_version: String
Latest version corresponding to the edition
remind_schedule: DisplaySchedule
Implementations§
Source§impl UpdateInformation
impl UpdateInformation
pub fn builder() -> UpdateInformation
Trait Implementations§
Source§impl Clone for UpdateInformation
impl Clone for UpdateInformation
Source§fn clone(&self) -> UpdateInformation
fn clone(&self) -> UpdateInformation
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 UpdateInformation
impl Debug for UpdateInformation
Source§impl<'de> Deserialize<'de> for UpdateInformation
impl<'de> Deserialize<'de> for UpdateInformation
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<&UpdateInformation> for UpdateInformation
impl From<&UpdateInformation> for UpdateInformation
Source§fn from(value: &UpdateInformation) -> Self
fn from(value: &UpdateInformation) -> Self
Converts to this type from the input type.
Source§impl From<UpdateInformation> for UpdateInformation
impl From<UpdateInformation> for UpdateInformation
Source§fn from(value: UpdateInformation) -> Self
fn from(value: UpdateInformation) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpdateInformation
impl Serialize for UpdateInformation
Source§impl TryFrom<UpdateInformation> for UpdateInformation
impl TryFrom<UpdateInformation> for UpdateInformation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdateInformation) -> Result<Self, ConversionError>
fn try_from(value: UpdateInformation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdateInformation
impl RefUnwindSafe for UpdateInformation
impl Send for UpdateInformation
impl Sync for UpdateInformation
impl Unpin for UpdateInformation
impl UnwindSafe for UpdateInformation
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