pub struct UpdatePriorityDetails {
pub avatar_id: Option<i64>,
pub description: Option<Option<String>>,
pub icon_url: Option<Option<IconUrl>>,
pub name: Option<Option<String>>,
pub status_color: Option<Option<String>>,
}
Expand description
UpdatePriorityDetails : Details of an issue priority.
Fields§
§avatar_id: Option<i64>
The ID for the avatar for the priority. This parameter is nullable and both iconUrl and avatarId cannot be defined.
description: Option<Option<String>>
The description of the priority.
icon_url: Option<Option<IconUrl>>
The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used. Both iconUrl and avatarId cannot be defined.
name: Option<Option<String>>
The name of the priority. Must be unique.
status_color: Option<Option<String>>
The status color of the priority in 3-digit or 6-digit hexadecimal format.
Implementations§
Source§impl UpdatePriorityDetails
impl UpdatePriorityDetails
Sourcepub fn new() -> UpdatePriorityDetails
pub fn new() -> UpdatePriorityDetails
Details of an issue priority.
Trait Implementations§
Source§impl Clone for UpdatePriorityDetails
impl Clone for UpdatePriorityDetails
Source§fn clone(&self) -> UpdatePriorityDetails
fn clone(&self) -> UpdatePriorityDetails
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 Debug for UpdatePriorityDetails
impl Debug for UpdatePriorityDetails
Source§impl Default for UpdatePriorityDetails
impl Default for UpdatePriorityDetails
Source§fn default() -> UpdatePriorityDetails
fn default() -> UpdatePriorityDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdatePriorityDetails
impl<'de> Deserialize<'de> for UpdatePriorityDetails
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
Source§impl PartialEq for UpdatePriorityDetails
impl PartialEq for UpdatePriorityDetails
Source§impl Serialize for UpdatePriorityDetails
impl Serialize for UpdatePriorityDetails
impl StructuralPartialEq for UpdatePriorityDetails
Auto Trait Implementations§
impl Freeze for UpdatePriorityDetails
impl RefUnwindSafe for UpdatePriorityDetails
impl Send for UpdatePriorityDetails
impl Sync for UpdatePriorityDetails
impl Unpin for UpdatePriorityDetails
impl UnwindSafe for UpdatePriorityDetails
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