pub struct AppHistory {
pub version: i32,
pub deployment_msg: Option<String>,
}
Fields§
§version: i32
§deployment_msg: Option<String>
Implementations§
Source§impl AppHistory
impl AppHistory
pub fn new(version: i32) -> AppHistory
Trait Implementations§
Source§impl Clone for AppHistory
impl Clone for AppHistory
Source§fn clone(&self) -> AppHistory
fn clone(&self) -> AppHistory
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 AppHistory
impl Debug for AppHistory
Source§impl Default for AppHistory
impl Default for AppHistory
Source§fn default() -> AppHistory
fn default() -> AppHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppHistory
impl<'de> Deserialize<'de> for AppHistory
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 PartialEq for AppHistory
impl PartialEq for AppHistory
Source§impl Serialize for AppHistory
impl Serialize for AppHistory
impl StructuralPartialEq for AppHistory
Auto Trait Implementations§
impl Freeze for AppHistory
impl RefUnwindSafe for AppHistory
impl Send for AppHistory
impl Sync for AppHistory
impl Unpin for AppHistory
impl UnwindSafe for AppHistory
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