pub struct VersionData {
pub name: String,
pub version: String,
pub branch: String,
pub commit: String,
}
Fields§
§name: String
§version: String
§branch: String
§commit: String
Trait Implementations§
Source§impl Clone for VersionData
impl Clone for VersionData
Source§fn clone(&self) -> VersionData
fn clone(&self) -> VersionData
Returns a copy 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 Default for VersionData
impl Default for VersionData
Source§fn default() -> VersionData
fn default() -> VersionData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionData
impl<'de> Deserialize<'de> for VersionData
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 VersionData
impl RefUnwindSafe for VersionData
impl Send for VersionData
impl Sync for VersionData
impl Unpin for VersionData
impl UnwindSafe for VersionData
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