nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Reaction {
    #[serde(rename = "rid")]
    rid: super::ReactionRid,
    #[serde(rename = "userRid")]
    user_rid: conjure_object::ResourceIdentifier,
    #[serde(rename = "createdAt")]
    created_at: conjure_object::DateTime<conjure_object::Utc>,
    #[serde(rename = "type")]
    type_: super::ReactionType,
}
impl Reaction {
    /// Unique resource identifier for the reaction
    #[inline]
    pub fn rid(&self) -> &super::ReactionRid {
        &self.rid
    }
    /// The user who authored the reaction
    #[inline]
    pub fn user_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.user_rid
    }
    /// The time the reaction was created
    #[inline]
    pub fn created_at(&self) -> conjure_object::DateTime<conjure_object::Utc> {
        self.created_at
    }
    /// The type of reaction
    #[inline]
    pub fn type_(&self) -> &super::ReactionType {
        &self.type_
    }
}