Struct gitlab::types::AwardEmoji
source · 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,
/* private fields */
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An awarded emoji on an entity.
Fields§
§id: AwardId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the award.
name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the awarded emoji.
user: UserBasic
👎Deprecated since 0.1609.0: define deserialization types in client code
The user which created the award.
created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the award was created.
updated_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the award was last updated.
awardable_type: AwardableType
👎Deprecated since 0.1609.0: define deserialization types in client code
The type of entity that is awarded.
Implementations§
source§impl AwardEmoji
impl AwardEmoji
sourcepub fn awardable_id(&self) -> AwardableId
👎Deprecated since 0.1609.0: define deserialization types in client code
pub fn awardable_id(&self) -> AwardableId
The ID of the entity the award is attached to.
Trait Implementations§
source§impl Clone for AwardEmoji
impl Clone for AwardEmoji
source§fn clone(&self) -> AwardEmoji
fn clone(&self) -> AwardEmoji
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 AwardEmoji
impl Debug for AwardEmoji
source§impl<'de> Deserialize<'de> for AwardEmoji
impl<'de> Deserialize<'de> for AwardEmoji
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
Auto Trait Implementations§
impl Freeze for AwardEmoji
impl RefUnwindSafe for AwardEmoji
impl Send for AwardEmoji
impl Sync for AwardEmoji
impl Unpin for AwardEmoji
impl UnwindSafe for AwardEmoji
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