pub struct MigrationInfo {
pub migration_guide_url: Option<String>,
pub recommended_version: String,
pub deprecation_message: Option<String>,
pub sunset_date: Option<String>,
}
Expand description
Migration information for deprecated versions
Fields§
§migration_guide_url: Option<String>
URL to migration guide
recommended_version: String
Recommended version to migrate to
deprecation_message: Option<String>
Deprecation warning message
sunset_date: Option<String>
Date when this version will be removed
Trait Implementations§
Source§impl Clone for MigrationInfo
impl Clone for MigrationInfo
Source§fn clone(&self) -> MigrationInfo
fn clone(&self) -> MigrationInfo
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 MigrationInfo
impl Debug for MigrationInfo
Source§impl<'de> Deserialize<'de> for MigrationInfo
impl<'de> Deserialize<'de> for MigrationInfo
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
Auto Trait Implementations§
impl Freeze for MigrationInfo
impl RefUnwindSafe for MigrationInfo
impl Send for MigrationInfo
impl Sync for MigrationInfo
impl Unpin for MigrationInfo
impl UnwindSafe for MigrationInfo
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