pub struct ActivityObjectStatusForViewer {
pub can_comment: Option<bool>,
pub can_plusone: Option<bool>,
pub can_update: Option<bool>,
pub is_plus_oned: Option<bool>,
pub resharing_disabled: Option<bool>,
}
Expand description
Status of the activity as seen by the viewer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§can_comment: Option<bool>
Whether the viewer can comment on the activity.
can_plusone: Option<bool>
Whether the viewer can +1 the activity.
can_update: Option<bool>
Whether the viewer can edit or delete the activity.
is_plus_oned: Option<bool>
Whether the viewer has +1’d the activity.
resharing_disabled: Option<bool>
Whether reshares are disabled for the activity.
Trait Implementations§
source§impl Clone for ActivityObjectStatusForViewer
impl Clone for ActivityObjectStatusForViewer
source§fn clone(&self) -> ActivityObjectStatusForViewer
fn clone(&self) -> ActivityObjectStatusForViewer
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 Default for ActivityObjectStatusForViewer
impl Default for ActivityObjectStatusForViewer
source§fn default() -> ActivityObjectStatusForViewer
fn default() -> ActivityObjectStatusForViewer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActivityObjectStatusForViewer
impl<'de> Deserialize<'de> for ActivityObjectStatusForViewer
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 NestedType for ActivityObjectStatusForViewer
impl Part for ActivityObjectStatusForViewer
Auto Trait Implementations§
impl RefUnwindSafe for ActivityObjectStatusForViewer
impl Send for ActivityObjectStatusForViewer
impl Sync for ActivityObjectStatusForViewer
impl Unpin for ActivityObjectStatusForViewer
impl UnwindSafe for ActivityObjectStatusForViewer
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