pub struct PostAuthor {
pub display_name: Option<String>,
pub id: Option<String>,
pub image: Option<PostAuthorImage>,
pub url: Option<String>,
}Expand description
The author of this Post.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>The display name.
id: Option<String>The identifier of the creator.
image: Option<PostAuthorImage>The creator’s avatar.
url: Option<String>The URL of the creator’s Profile page.
Trait Implementations§
Source§impl Clone for PostAuthor
impl Clone for PostAuthor
Source§fn clone(&self) -> PostAuthor
fn clone(&self) -> PostAuthor
Returns a duplicate 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 PostAuthor
impl Debug for PostAuthor
Source§impl Default for PostAuthor
impl Default for PostAuthor
Source§fn default() -> PostAuthor
fn default() -> PostAuthor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostAuthor
impl<'de> Deserialize<'de> for PostAuthor
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
Source§impl Serialize for PostAuthor
impl Serialize for PostAuthor
impl NestedType for PostAuthor
impl Part for PostAuthor
Auto Trait Implementations§
impl Freeze for PostAuthor
impl RefUnwindSafe for PostAuthor
impl Send for PostAuthor
impl Sync for PostAuthor
impl Unpin for PostAuthor
impl UnwindSafe for PostAuthor
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