pub struct UpdateVersionPayload {
pub name: Option<String>,
pub description: Option<String>,
pub start_date: Option<String>,
pub release_date: Option<String>,
pub released: Option<bool>,
pub archived: Option<bool>,
}Expand description
PUT /rest/api/2/version/{id} payload — partial update; only fields
explicitly set are sent (#[serde(skip_serializing_if = "Option::is_none")]),
so unspecified fields are preserved server-side.
Fields§
§name: Option<String>§description: Option<String>§start_date: Option<String>§release_date: Option<String>§released: Option<bool>§archived: Option<bool>Trait Implementations§
Source§impl Clone for UpdateVersionPayload
impl Clone for UpdateVersionPayload
Source§fn clone(&self) -> UpdateVersionPayload
fn clone(&self) -> UpdateVersionPayload
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 UpdateVersionPayload
impl Debug for UpdateVersionPayload
Source§impl Default for UpdateVersionPayload
impl Default for UpdateVersionPayload
Source§fn default() -> UpdateVersionPayload
fn default() -> UpdateVersionPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateVersionPayload
impl RefUnwindSafe for UpdateVersionPayload
impl Send for UpdateVersionPayload
impl Sync for UpdateVersionPayload
impl Unpin for UpdateVersionPayload
impl UnsafeUnpin for UpdateVersionPayload
impl UnwindSafe for UpdateVersionPayload
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