pub struct CreateVersionPayload {
pub name: String,
pub project: Option<String>,
pub project_id: Option<u64>,
pub description: Option<String>,
pub start_date: Option<String>,
pub release_date: Option<String>,
pub released: Option<bool>,
pub archived: Option<bool>,
}Expand description
POST /rest/api/2/version payload.
project and project_id are mutually-exclusive routing keys —
callers should fill exactly one (Server/DC accepts both, Cloud
historically prefers projectId). Optional date / state fields
are skipped when None so creation defaults match the UI.
Fields§
§name: String§project: Option<String>§project_id: Option<u64>§description: Option<String>§start_date: Option<String>§release_date: Option<String>§released: Option<bool>§archived: Option<bool>Trait Implementations§
Source§impl Clone for CreateVersionPayload
impl Clone for CreateVersionPayload
Source§fn clone(&self) -> CreateVersionPayload
fn clone(&self) -> CreateVersionPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateVersionPayload
impl Debug for CreateVersionPayload
Source§impl Default for CreateVersionPayload
impl Default for CreateVersionPayload
Source§fn default() -> CreateVersionPayload
fn default() -> CreateVersionPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateVersionPayload
impl RefUnwindSafe for CreateVersionPayload
impl Send for CreateVersionPayload
impl Sync for CreateVersionPayload
impl Unpin for CreateVersionPayload
impl UnsafeUnpin for CreateVersionPayload
impl UnwindSafe for CreateVersionPayload
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