pub struct Avatar {
pub id: String,
pub owner: Option<String>,
pub is_system_avatar: Option<bool>,
pub is_selected: Option<bool>,
pub is_deletable: Option<bool>,
pub file_name: Option<String>,
pub urls: Option<HashMap<String, String>>,
}
Expand description
Avatar : Details of an avatar.
Fields§
§id: String
The ID of the avatar.
owner: Option<String>
The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user.
is_system_avatar: Option<bool>
Whether the avatar is a system avatar.
is_selected: Option<bool>
Whether the avatar is used in Jira. For example, shown as a project’s avatar.
is_deletable: Option<bool>
Whether the avatar can be deleted.
file_name: Option<String>
The file name of the avatar icon. Returned for system avatars.
urls: Option<HashMap<String, String>>
The list of avatar icon URLs.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Avatar
impl<'de> Deserialize<'de> for Avatar
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 Avatar
Auto Trait Implementations§
impl Freeze for Avatar
impl RefUnwindSafe for Avatar
impl Send for Avatar
impl Sync for Avatar
impl Unpin for Avatar
impl UnwindSafe for Avatar
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