pub struct Version {
pub active: Option<bool>,
pub comment: Option<String>,
pub deployed: Option<bool>,
pub locked: Option<bool>,
pub number: Option<i32>,
pub staging: Option<bool>,
pub testing: Option<bool>,
}
Fields§
§active: Option<bool>
Whether this is the active version or not.
comment: Option<String>
A freeform descriptive note.
deployed: Option<bool>
Unused at this time.
locked: Option<bool>
Whether this version is locked or not. Objects can not be added or edited on locked versions.
number: Option<i32>
The number of this version.
staging: Option<bool>
Unused at this time.
testing: Option<bool>
Unused at this time.
Implementations§
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
impl StructuralPartialEq for Version
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