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]
pub fn awardable_id(&self) -> AwardableId[src]
The ID of the entity the award is attached to.
Trait Implementations
impl Debug for AwardEmoji[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for AwardEmoji[src]
fn clone(&self) -> AwardEmoji[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more