Struct gitlab::types::AwardEmoji
[−]
[src]
pub struct AwardEmoji {
pub id: AwardId,
pub name: String,
pub user: UserBasic,
pub created_at: DateTime<UTC>,
pub updated_at: DateTime<UTC>,
pub awardable_type: AwardableType,
// some fields omitted
}An awarded emoji on an entity.
Fields
id: AwardId
The ID of the award.
name: String
The name of the awarded emoji.
user: UserBasic
The user which created the award.
created_at: DateTime<UTC>
When the award was created.
updated_at: DateTime<UTC>
When the award was last updated.
awardable_type: AwardableType
The type of entity that is awarded.
Methods
impl AwardEmoji[src]
fn awardable_id(&self) -> AwardableId
The ID of the entity the award is attached to.
Trait Implementations
impl Debug for AwardEmoji[src]
impl Clone for AwardEmoji[src]
fn clone(&self) -> AwardEmoji
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more