pub struct Version {
pub codename: Option<String>,
pub from: String,
pub is_beta: Option<bool>,
pub is_deprecated: Option<bool>,
pub is_hidden: Option<bool>,
pub is_stable: Option<bool>,
pub version: String,
}
Fields§
§codename: Option<String>
Dubbed name of version
from: String
Semantic Version to use as the base fork
is_beta: Option<bool>
§is_deprecated: Option<bool>
Should this be deprecated? Only allowed in PUT operations
Should this be publically accessible?
is_stable: Option<bool>
Should this be the main version
version: String
Semantic Version
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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 Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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