pub struct AuthorResource {
pub id: Uuid,
pub name: String,
pub image_updated_at: Option<DateTime<Utc>>,
}Expand description
Shared author projection returned across domains (bug, question, …).
Fields§
§id: Uuid§name: String§image_updated_at: Option<DateTime<Utc>>Trait Implementations§
impl ApiResource for AuthorResource
Source§impl Clone for AuthorResource
impl Clone for AuthorResource
Source§fn clone(&self) -> AuthorResource
fn clone(&self) -> AuthorResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthorResource
impl Debug for AuthorResource
Source§impl<'de> Deserialize<'de> for AuthorResource
impl<'de> Deserialize<'de> for AuthorResource
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
impl Eq for AuthorResource
Source§impl PartialEq for AuthorResource
impl PartialEq for AuthorResource
Source§fn eq(&self, other: &AuthorResource) -> bool
fn eq(&self, other: &AuthorResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthorResource
impl Serialize for AuthorResource
impl StructuralPartialEq for AuthorResource
Auto Trait Implementations§
impl Freeze for AuthorResource
impl RefUnwindSafe for AuthorResource
impl Send for AuthorResource
impl Sync for AuthorResource
impl Unpin for AuthorResource
impl UnsafeUnpin for AuthorResource
impl UnwindSafe for AuthorResource
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