Struct google_plus1::ActivityActor
source · pub struct ActivityActor {
pub display_name: Option<String>,
pub name: Option<ActivityActorName>,
pub url: Option<String>,
pub image: Option<ActivityActorImage>,
pub client_specific_actor_info: Option<ActivityActorClientSpecificActorInfo>,
pub id: Option<String>,
pub verification: Option<ActivityActorVerification>,
}Expand description
The person who performed this activity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>The name of the actor, suitable for display.
name: Option<ActivityActorName>An object representation of the individual components of name.
url: Option<String>The link to the actor’s Google profile.
image: Option<ActivityActorImage>The image representation of the actor.
client_specific_actor_info: Option<ActivityActorClientSpecificActorInfo>Actor info specific to particular clients.
id: Option<String>The ID of the actor’s Person resource.
verification: Option<ActivityActorVerification>Verification status of actor.
Trait Implementations§
source§impl Clone for ActivityActor
impl Clone for ActivityActor
source§fn clone(&self) -> ActivityActor
fn clone(&self) -> ActivityActor
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 ActivityActor
impl Debug for ActivityActor
source§impl Default for ActivityActor
impl Default for ActivityActor
source§fn default() -> ActivityActor
fn default() -> ActivityActor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivityActor
impl<'de> Deserialize<'de> for ActivityActor
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 ActivityActor
impl Serialize for ActivityActor
impl NestedType for ActivityActor
impl Part for ActivityActor
Auto Trait Implementations§
impl Freeze for ActivityActor
impl RefUnwindSafe for ActivityActor
impl Send for ActivityActor
impl Sync for ActivityActor
impl Unpin for ActivityActor
impl UnwindSafe for ActivityActor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more