pub struct View {
pub kind: ViewType,
pub view_props: ViewProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}
Expand description
Indicates that the actor has viewed the object.
Fields§
§kind: ViewType
§view_props: ViewProperties
Adds all valid view properties to this struct
object_props: ObjectProperties
Adds all valid object properties to this struct
activity_props: ActivityProperties
Adds all valid activity properties to this struct
Trait Implementations§
Source§impl ActivityExt for View
impl ActivityExt for View
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for View
impl<'de> Deserialize<'de> for View
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 ObjectExt for View
impl ObjectExt for View
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for View
impl Object for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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