pub struct Affiliation {
pub id: AffiliationId,
pub display_name: String,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Represents an affiliation.
Fields§
§id: AffiliationId
The id of the affiliation.
display_name: String
The affiliation’s name.
created_at: DateTime<Utc>
When the affiliation was created.
updated_at: Option<DateTime<Utc>>
When the affiliation was last updated.
Trait Implementations§
Source§impl Clone for Affiliation
impl Clone for Affiliation
Source§fn clone(&self) -> Affiliation
fn clone(&self) -> Affiliation
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 Affiliation
impl Debug for Affiliation
Source§impl<'de> Deserialize<'de> for Affiliation
impl<'de> Deserialize<'de> for Affiliation
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 Affiliation
impl RefUnwindSafe for Affiliation
impl Send for Affiliation
impl Sync for Affiliation
impl Unpin for Affiliation
impl UnwindSafe for Affiliation
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